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.
Property Name | Description |
---|---|
(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. |
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.
Property Name | Example Rule | Example Result | Meaning |
---|---|---|---|
Dimension Name | "D1@Sketch1@Cube "&DWSpecificationId&".Part|D2@Sketch1@Cube "&DWSpecificationId&".Part" | D1@Sketch1@Cube 9999.Part|D2@Sketch1@Cube 9999.Part | Will drive the Model dimension with the name D1@Sketch1 and D2@Sketch1 for the generated cube part. |
Dimension Value | "100|150" | 100|150 | Will drive the Model dimension to be 100 and 150. |
Property Name | Example Rule | Example Result | Meaning |
---|---|---|---|
Dimension Name | "D1@Sketch1|D3Sketch5" | D1@Sketch|D3Sketch5 | This will drive the Sketch dimensions with the names D1@Sketch1 and D3Sketch5 . |
Dimension Value | "25|45" | 25|45 | This will drive the sketch dimension to 25 and 45. |
This Task can be added to SOLIDWORKS Parts, Assemblies and Drawings in the following Generation Sequence(s):