DriveWorks Pro 15: Model Insight [send feedback...]

Model Insight - Generate Interactive

Model Insight is an essential tool for understanding how a model is generated by DriveWorks.

Model Insight uses the Queued method of model generation and allows you to step through every action taken by DriveWorks when generating a model.

With Model Insight you can:

  • See the exact order in which dimensions, features, custom properties, etc. are processed
  • See the time it takes to execute each operation
  • See where a particular operation is not giving you the results you expect
Model Insight can be used on:
  • Assemblies
  • Parts
  • Drawings

Model Insight displays the operations to be carried out on the immediate model or drawing.

The operations for any sub components or drawings are displayed when that sub component or drawing are required.

When running Model Insight on an assembly create a Pause Point (see below) on the line that makes the call to Generate the component (the full path and name will be given).

For a drawing this will become available during the generation of the associated component.

Once the Pause Point is reached you can then Step Into that sequence to see the operations to be performed on that component or drawing.

To Launch Model Insight

Model Insight can be launched in two ways:

  • Through Specification Test Mode
  • Through the Generate Models dialog in SOLIDWORKS.

To launch Model Insight during Test mode:

  1. Run DriveWorks Administrator and go to the Specification Explorer.
  2. Click New to create a new specification. (If you have more than one project, select the required project from the New Specification window and click OK).
  3. When the first user form in the navigation is loaded into the Specification Explorer window, click the Test Mode button from the command bar.
  4. Select the Model Rules tab.
  5. Select the part that is required to be run through Model Insight from the Models list.
  6. Click the Generate (Queued, Interactive) button from the command bar.
    Or
    Right click on the model and select Generate (Queued, Interactive).

To launch Model Insight from the Generate Models dialog in SOLIDWORKS:

  1. Run SOLIDWORKS and click on the DriveWorks add-in.
  2. Log in to the group.
  3. Click the Generate Models command bar button.
  4. Select the part that is required to be run through Model Insight from the Models list.
  5. Right click on the model and select Generate (Interactive).

Status Bar

In the left hand corner the status bar displays the current status:

  • Ready - Nothing is currently running (or you're just stepping into/over something).
  • Running - You've pressed "Run" and we're currently generating.
  • Finished - Generation has run to the end and stopped.

The 3 numbers in the right hand corner summarize the number of Successful/Successful With Warnings/Failed tasks there are in the Model Insight window.

Create Pause Points

Pause Points allow the model generation to pause at chosen operations.

To create a Pause Point locate the required operation and click in the margin adjacent to it.

To clear a Pause Point click on the Pause Point icon in the margin.

Clicking the Clear Pause Points command bar button clears all Pause Points.

You may interact with the SOLIDWORKS model while interactive generation is paused, however you may get undesired results if you select or deselect anything that DriveWorks is operating on, or if you make any other changes to the model that conflict with the operations that DriveWorks is performing.

Model Insight Commands

Run

Will start the interactive model generation.

Pause

Will pause the interactive model generation.

Copy

Any selection made in the Model Insight window can be copied to the clipboard.

Step Into

Once the generation reaches a pause point, Step Into will execute the next sub-operation and halt the generation process.

As DriveWorks processes features in a single operation, each action performed on a feature is listed as a sub-operation.

Sub-operations are indented in the Model Insight window.

Step Over

Once the generation reaches a pause point, Step Over will execute all sub-operations of the current operation, and then halt.

Step Out

When sub-operations are being processed (using Step Into or Step Over) Step Out will run all remaining sub-operations for the current operation, and then halt.

Continue On Failure

By default this option is not selected and if an error occurs during generation, the execution will automatically halt on the operation that failed.

When this option is selected, generation will continue until the next Pause Point or until it has reached the end.

Clear Pause Points

Will clear all Pause Points that have been applied.

Rebuild Model

Will force a rebuild of the current model.

Rebuild On Pause

When this option is selected, at the next Pause Point, DriveWorks will force a rebuild of the current model.

Skip Drawings

Will become available when a pause point is hit on a model that is to have a drawing built.

Select Skip Drawings to exclude the generation of the models drawing.

Show API Events

Select this option to show all API Event handler invocations:

"Notify the [Plugin name] plugin by [Plugin Author] of the [Event Name] event."

Export Log

Exports a Model Insight Report (.drivemir) file. Double click the file to open in the Standalone Report Viewer application.

Close

Closes the Model Insight window.

If the window is closed during execution, generation will be aborted and the current model left open.

Table of Contents