Test Mode allows project rules to be analyzed within a running specification.
Hosted and Child Specifications
Specifications hosted within the current specification (using the Specification Host control) can enter Test Mode.
Specifications added to a Child Specification List can also enter Test Mode.
Select the drop down on the Test mode button and select the specification to test.
Once in Test Mode, test each DriveWorks task that can be analyzed from the tab strip under the Command Bar.
DriveWorks Tasks that can be analyzed are:
When the user form property Show Task List (See User Form Properties) is set to True, the Task List will be displayed during Test Mode. Any active Form Messages will be displayed.
See Analyze Rule below, for more information.
The Navigation tab shows the current form navigation.
See Analyze Rule below, for more information.
See Analyze Rule below, for more information.
The data from the selected table is displayed on the right.
All table types as defined in Tables can be viewed here.
Group Tables cannot be viewed in Test Mode.
The data from the selected table is displayed on the right.
See Analyze Rule below, for more information.
See Analyze Rule below, for more information.
The Models pane displays all models and drawings that are affected by the current Specification.
The resulting name is displayed for each model and drawing.
Each name will also be suffixed with the following:
Any models replaced (using the <Replace>.. function) will also show as [Existing].
Specification Test Mode determines a component to be [Existing] when a physical file exists on disk.
This will ocurr when:
Any model where the file name rule equates to a new file to be created can be generated directly from Test Mode.
This will create a temporary file in a temporary location, the final file name and location will not be applied until the specification enters a state, in the specification flow, that triggers the full model generation.
Or
A 3D Preview control must be either Active or Inactive to view the 3D Document being displayed.
A 3D preview control shown under the Not Loaded heading cannot be analyzed.
To load a 3D Preview, exit Test Mode and navigate to the form that contains the control to be loaded.
All 3D Preview controls that exist in the running Specification are listed.
Only 3D Preview controls running in Document Mode (displaying a DriveWorks 3D Document) are supported in Test Mode.
3D Preview controls running in File Mode will display the message File Mode previews are not currently supported in this mode when selected.
3D Preview controls running in Autopilot Mode will display the message Autopilot previews are not currently supported in this mode when selected.
A 3D preview control can be in one of the following states:
Selecting a Not Loaded preview will display the message The contents of this 3D preview has not yet been loaded
.The 3D Preview control list gives the following information for each control:
See 3D Preview Box for more information.
When a 3D Preview is selected the 3D view shown is the server's most recent version of the 3D Document.
This means any rule updates or macro executions that alter the scene will be reflected in the 3D view.
This also means that if there is an animation in the scene, the actual animation will not be seen, but the position, rotation and scale will be updated when the animation ends.
From the Test Mode view of the 3D Document editor:
See Analyze Rule below, for more information.
The Analyze Rule dialog is launched by:
Some tabs (for example Constants) do not have rules applied to any values, so the Analyze Rule function will not be available.
The Analyze Rule dialog displays the name of the property, variable, cell or captured parameter being analyzed in the header.
The current rule is displayed in the Rule Editor.
The current rule can be modified, while in Test Mode, and this will update in the current Test Mode session, but will not affect the current running Specification.
If the outcome of a rule modified in Test Mode is satisfactory the rule can be copied and applied to the same parameter in the Project.
This will then take effect once the Project is saved and a new Specification is started.
Below the Rule Editor are the following diagnostic tools:
This displays the same information as the Steps Tab in the Rule Builder.
This displays the same information as the Drill Down Tab in the Rule Builder.