Home Search

DriveWorks Pro 21
Drive Multiple Dimensions

Send Feedback

Drive Multiple Dimensions

This Generation Task allows you to drive multiple dimensions in a Part, Assembly or Drawing. If the address for the dimension and the value exists it will be driven.

Provide multiple dimension names and values using pipebar (|) delimited lists to separate the names and values. The Generation Task will take the first dimension listed and drive it to be the first value listed. The task will continue until there are no more dimensions to drive.

This Task will only drive Model Dimensions in Parts or Assemblies. It will NOT drive Driven or Reference Dimensions values.

This Task will only drive Sketch Dimensions in Drawings. It will NOT drive Model, Driven or Reference Dimensions values.

Properties

Property NameDescription
(Name)The unique name for this Task.
Dimension Name(s)The names of the dimensions that will be driven. Use a pipebar (|) delimited list of names to drive multiple dimensions.
Dimension Value(s)The new values for the dimensions in model units. Use a pipebar (|) delimited list of values to drive multiple dimensions.

Examples

When this task is added the properties are dynamic by default. See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

Part Example

Property NameExample RuleExample ResultMeaning
Dimension Name"D1@Sketch1@Cube "&DWSpecificationId&".Part|D2@Sketch1@Cube "&DWSpecificationId&".Part"D1@Sketch1@Cube 9999.Part|D2@Sketch1@Cube 9999.PartWill drive the Model dimension with the name D1@Sketch1 and D2@Sketch1 for the generated cube part.
Dimension Value"100|150"100|150Will drive the Model dimension to be 100 and 150.

Drawing Example

Property NameExample RuleExample ResultMeaning
Dimension Name"D1@Sketch1|D3Sketch5"D1@Sketch|D3Sketch5This will drive the Sketch dimensions with the names D1@Sketch1 and D3Sketch5 .
Dimension Value"25|45"25|45This will drive the sketch dimension to 25 and 45.

Generation Sequence

This Task can be added to SOLIDWORKS Parts, Assemblies and Drawings in the following Generation Sequence(s):

  • Pre Drive (will be run before the Main Drive Sequence)
  • Post Drive (will be run after the Main Drive Sequence)