DriveWorks Solo 15: Define Variables [send feedback...]

Introduction

You can use the variables editor to create rules that you want to use in many places, or just to simplify rules that are getting long by breaking them down into more manageable chunks.


Variables
Related variables can be organized into categories to make the structure of your project easier to understand.
If you have a lot of variables and/or categories, you can use the search boxes above the category tree  and variable list to find what you are looking for quickly.

To Create a Variable

  • Click the "New Variable" button on the command bar.
  • Give the variable a name.
  • Click "OK" - the variable is created in the currently selected category.

To Assign a Rule to a Variable

  • Select the variable in either the category tree, or in the variable list.
  • Click the "Build" button on the command bar to launch the rule builder.
  • Build the rule and click "OK".

To Rename a Variable

  • Select the variable to rename in either the category tree, or in the variable list.
  • Click the "Rename" button on the command bar.
  • Enter the name of the variable.
  • Press Return to confirm the name change.

To Delete a Variable

  • Select the variable to delete in either the category tree, or in the variable list.
  • Click the "Delete" button on the command bar.

To Create a Category

  • Click the "New Category" button the command bar.
  • Give the category a name.
  • Click "OK" - the category is created as a child of the currently selected category.

To Assign a Variable to a Category

  • Find the variable in the category tree
  • Click and drag it into the category you want to assign it to.

To Move a Category

  • Find the category in the category tree.
  • Click and drag it to the new parent category.

To Delete a Category

  • Select the category to delete in the category tree.
  • Click "Delete" on the command bar - the category is deleted, and all of its variables are moved into the deleted category's parent category.
If you delete a category which has child categories, you will be asked whether you want to delete  them as well.

To Apply an Image to a Category

  • Select the category to which to apply an image.
  • Click "Set Category Image..." to browse for an image to apply.
Assigning images to category can be a great way of documenting the purpose of a group of variables, for example, you could browse for an image that documents the engineering calculations that are implemented by the rules.

To Remove an Image from a Category

  • Select the category from which to remove an image.
  • Click "Remove Category Image..." to remove the image.

Table of Contents