DriveWorks Pro 17: Change The Display Units Of Predefined Measurement Text Boxes [send feedback...]

Change The Display Units Of Predefined Measurement Text Boxes

This Specification Task will change the display units of a predefined measurement text box (or boxes).

This Task makes use of the Tag property that can be set for certain controls in DriveWorks. For more information about Tags see the Tag article in the Help File.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
TagThe name of the control tag to use (if no tag is used, all measurement text boxes will have their display units changed).
MRound MultiplierThe value that will be used as the multiplier of a MRound calculation when changing the display units (leaving as 0 results in no rounding). To learn more about this see MRound Function.
Display UnitsThe new display units for the measurement text box (must be Feet, Inches, Meters, Millimeters, FT, IN, M or MM).

Example

When this Task is added the properties are static. To be able to build rules on a static property see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleExample ResultMeaning
Tag"M12"M12This is the Tag that you have set for the Measurement Text Box Control.
MRound Multiplier"2"2This will round the value to the nearest multiple of the given MRound Multiplier. In this case it would be the nearest multiple of 2.
Display Units"FT"FTThis will change the display units to Feet

Using the Task in a Specification Macro

This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.

Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.

Status Outputs

This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.

The status output navigation is as follows:

Success

  • Display Units were changed successfully.

Success with Warnings

  • N/A - should never be fulfilled.

Failed (one of the following occurred)

  • Invalid unit defined for the Display Units property.
  • General failure - Check the Specification report for more details.

Table of Contents