Home Search

DriveWorks Pro 21
Drive Single Dimension

Send Feedback

Drive Single Dimension - SOLIDWORKS PowerPack

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

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 NameThe name of the dimension to drive.
Dimension ValueThe value to drive into the dimension.

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"D1@Sketch1@Cube 9999.PartWill drive the Model dimension with the name D1@Sketch1 for the generated cube part.
Dimension Value"130"130Will drive the Model dimension to be 130

Drawing Example

Property NameExample RuleExample ResultMeaning
Dimension Name"D1@Sketch1"D1@SketchThis will drive the Sketch dimension with the name D1@Sketch1 .
Dimension Value"25"25This will drive the sketch dimension to 25.

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)