Skip to main content

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.

Problem:

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

Resolution:

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

#EnterpriseAnalyzer
#SupportTip