DriveWorks Pro 17: Model Rules [send feedback...]

Model Rules

After capturing the models that you want to drive, you can use the model rules screen to add one or more instances of those models to your project and setup rules for them.

The model rules screen is divided into two areas:

  • The component tree
  • The rule list
If no models have been captured you will see this info tip at the top of the component tree and rule list:

To learn how to capture a model please see Captured Models

If a captured model (component set) has not been added to the project you will see this info tip at the top of the component tree and rule list:

To learn how to add a model to the project please see To Add a Model to Drive below.

When you capture a model it will not appear in the component tree straight away.

Each top level model should be added to the component tree first.

See To Add a Model to Drive below.

The reason for this will become clear if you start using driven replacement models to give you complete control over an assembly structure.

A top-level model and its children in the component tree are collectively referred to as a "Component Set".

Filtering

The Component Tree and Rule List can be filtered by using the filter bar at the top of each list.

The Filter Bar above the Rule List contains presets that will enable quick filtering of common terms.

These include:

  • Dimension - will display all captured dimensions for the selected components
  • Configuration - will display all configurations for the selected components
  • Feature - will display all captured features for the selected components
  • Relative Path - will display all relative paths for the selected components
  • Custom Property - will display all captured custom properties for the selected components
  • File Name - will display all file names for the selected components
  • Instance - will display all captured instances for the selected components
  • Tags - will display all tags for the selected components

To use a preset filter term:

  1. From the Model Rules task, select the components to display the captured parameters for.
  2. From the Filter Bar immediately above the Rule List, select the filter drop down.
  3. Select Project Filers.
  4. Select the required term from the list.

Please see the topic How To Use Filters for more filtering information.

Component Preview

Model Rules will display a preview of anything highlighted in the Component Tree.

Once a component is highlighted the preview, along with additional information, is displayed in the section Component Details, directly under the component tree and rule list.

Component TypeAdditional InformationPreview
Assembly
  • File Path

    This gives the full path to the component as a link.

    Clicking the link will open Windows Explorer at the given location.

  • Version

    The SOLIDWORKS version the file was last saved as.

  • Date Created
  • Last Modified Date
  • Component Count

    The total number of components within the assembly.

  • Custom Property Count

    The total number of custom properties (captured and not captured) in the component.

  • Custom Properties

    Each custom property is listed along with its current value.

Part
  • File Path

    This gives the full path to the component as a link.

    Clicking the link will open Windows Explorer at the given location.

  • Version

    The SOLIDWORKS version the file was last saved as.

  • Date Created
  • Last Modified Date
  • Custom Property Count

    The total number of custom properties (captured and not captured) in the component.

  • Custom Properties

    Each custom property is listed along with its current value.

Drawing
  • File Path

    This gives the full path to the component as a link.

    Clicking the link will open Windows Explorer at the given location.

  • Version

    The SOLIDWORKS version the file was last saved as.

  • Date Created
  • Last Modified Date
  • Sheet Count

    The number of sheets in the drawing.

    On multi-sheet drawings the preview displays the sheet the drawing was last saved on.

To Add a Model to Drive

Click the Add button, the "Add Component" dialog will appear:

The add component dialog can be switched to either tree or list view.

The dialog can be be filtered by using the filter at the top of the list.

Please see the topic How To Use Filters for more advanced filtering information.

Select the component to add, and click "OK", the component and its captured children will be added to the component tree.

Only the top level component should be selected. All children that have been captured for this component will automatically be added.
Once a component set has been added, any subsequent additions will appear at the top of the model list.

Import Components

The Import Components wizard enables you to import captured models and all captured parameters from one group, into the current group.

Please see Import Components for more information.

To Remove a Top Level Model and its Children (Component Set)

  • Select the Component Set in the component tree by clicking on it.
  • Click the "Delete" button on the command bar.

The model and all of its children will be removed.

This action cannot be undone. If you remove a model and save the project, then the rules for the model and its children will be lost. Before removing a model, you may wish to make a copy of your project.

To Rename a Top Level Model and its Children (Component Set)

  • Select the Component Set in the component tree by clicking on it.
  • Click the "Renaming" button on the command bar to start editing the Component Set name.
  • Type a new name, and press Return when you are done.

To Reorder Top Level Models (Component Sets)

Component sets can be reordered to make sure that one gets calculated before another. This is useful when working with driven replacement models.

  • Select the Component Set to move in the component tree by clicking on it.
  • Use the Move Up/Move Down buttons on the command bar to move it up or down.
  • Alternatively use the Move To Top/Move To Bottom buttons on the command bar to move the component set directly to the top or bottom.

To Select Models to Edit

To display the rules for a model in the rules list, check the box next to it on the left hand side.

Right click on a model to see options to select/deselect it and all of its children quickly.
Right click on an empty area of the component tree to see options to select/deselect all of the models in the tree quickly.

To Select Rules to Build

You can select an individual rule in the list and build it by clicking on the "Build" button on the command bar.

Multiple rules can be selected and built at once by using the "Control" and "Shift" keys.
For more information about different types of rules shown in the model rules screen and how to build them, see Model Rules Overview.

To Recalculate Rules

The values shown in the rule list can become out-of-date if changes are made in other tasks in the task explorer. To refresh them all, click the "Calculate" button.

To Refresh Captured Information

If you start working in the model rules screen, and then capture some more models, features, dimensions, and so on, you may need to click the "Refresh" button for them to be shown in the model rules screen.

Drawing Rules

Drawing rules are built in the model rules screen which shows detailed information about the drawing, sheet, views, and so on that were captured.

Drawing sheets are displayed in the model list as children of the drawing. Each sheet has its own node so the parameters applicable to that sheet are displayed when selected.

When a drawing is selected the screen divides into two areas:

  1. The top half displays the captured parameters of the selected drawing node.
  2. The lower half gives information about the selected drawing node.

The lower area shows information about the captured drawing such as the views that were captured, their sizes and scales and more:

  1. The sheets and views tree which shows sheets, views, and view breaklines if captured. Uncaptured sheets, views are shown in a dark gray color.
  2. The captured drawing preview which graphically shows the currently selected sheet and its views.
  3. The sheet/view information list which shows information that was captured about the currently selected sheet or view.

To Add a Drawing

Drawings are automatically added to the drawing rules screen when their parent models are added to the model rules screen. You may need to click the "Refresh" button for them to become visible.

To Remove a Drawing

Drawings are automatically removed from the drawing rules screen when their parent models are removed from the model rules screen.

A drawing can be removed from it's parent model by following the steps detailed here Drawings

To Select a Drawing to Edit

Click on a drawing in the drawing tree to show its rules and captured information in the drawing rules list.

To Select Rules to Build

You can select an individual rule in the list and build it by clicking on the "Build" button on the command bar.

Multiple rules can be selected and built at once by using the "Control" and "Shift" keys.
For more information about different types of rules shown in the drawing rules screen and how to build them, see Drawing Rules.

To Recalculate Rules

The values shown in the rule list can become out-of-date if changes are made in other tasks in the task explorer. To refresh them all, click the "Calculate" button.

To Refresh Captured Information

If you start working in the drawing rules screen, and then capture some more drawings, sheets, views, and so on, you may need to click the "Refresh" button for them to be shown in the drawing rules screen.

Table of Contents