Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Create a template for new projects

Create a template for new projects

This topic is for Revolve users. It explains how to create a template that includes all the custom settings you want to use for creating a new project.


Is there a way to create a file containing default project settings, which can be used as a template to create identical projects?


There are three stages to the process:

The first stage involves preparing a new project that has all the settings you want for your template.

  1. Create a new project, including all the extensions needed for all projects, search paths, any component parameters and so on.
  2. Once you are happy with the customised settings, add a component, any one will do because actual loading of the component is not a requirement of this procedure.
  3. From the Revolve menu click Tools > Scripts.
  4. Open the Utilities folder by double-clicking it.
  5. Double-click Generate a script to build this project from scratch.
  6. When the process ends, provide a name and location for your new project, or use the defaults, and click Save.

    Two files with similar names are generated, one has the extension .rca and the other .rqs.

  7. In a text editor, open the file with the .rqs extension.
  8. In the Add components: section, remove the lines which identify the component you added to your project. For example:
    //   Add components:
    if (addComp("your component name", type="system_component_jcl") > 0) { vComp := (system_component_jcl="REP1.JCL");}
  9. Save the modified file and close the text editor.

You have now produced two files that represent a new project framework containing all the settings you defined. The second stage of the process involves compiling the new project into a form that can be used as a template.

  1. On the Revolve menu, click Tools > Shell.
  2. Type Show compile(drive:\path\filename.rqs), where drive:\path\filename.rqs is the location and name of the file you created earlier in stage 1.

    The compilation should end with a return code 1.

You now have a compiled script avaialable that contains the environment variables and set options that you can use as a base for new projects. The final stage of the process is to run this script to configure a new project:

  1. In Revolve, click Project > New to create a new project using the wizard.
  2. Follow the instructions in the wizard until you you reach the New Project Wizard - Start Analysis dialog box.
  3. De-select the checkbox Start the analysis database build process.
  4. Click Finish.
  5. Click Tools > Shell.
  6. Type invoke(drive:\path\filename.rqc, where drive:\path\filename.rqc is the location and name of the file you compiled earler.

This will build the new project with all the features, specific variables and options configured for your project template.

Incident Number: 2202899

Old KB# 14427


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2013-02-15 18:13
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.