The Auto Dimension Drawing View Generation Task will insert annotations (dimensions) on a named view or all views on a drawing.
Multi-Sheet Drawings
This Tasks requires requires the specified View Name to be on the currently active sheet.
If the Drawing this Task is run on has more than one sheet use the Activate Sheet Task immediately before running this Task.
Property Name | Description |
---|---|
(Name) | The unique name for this task. |
Add to all views | True to insert the annotations in all views in the drawing, False to insert annotations only in the named view. |
Eliminate Duplicate Dimensions | True to eliminate duplicate dimensions, False to allow duplicate dimensions. |
Insert Dimensions Using Sketch Placement | True to insert dimensions as they were placed in the sketch, False to ignore sketch placement. |
Insert Hidden Dimension Features | True to insert dimensions from features that are hidden, False to just insert dimensions from visible features. |
Options | The options for which model or feature the dimensions are inserted from (0 = Entire model, 3 = Assembly only). |
Types of dimensions | Bitwise or Annotation type as defined in swInsertAnnotation_e Enumeration (for example 8 = Dimensions, 32768 = Dimensions Marked For Drawing, 524288 = Dimensions Not Marked For Drawing). |
View Name | The name of the view to dimension.
Setting the Add to all views property to be True
will ignore this setting. |
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 |
---|---|---|---|
Add to all views | ="False" | False | Will only insert annotations to the view named in the property View Name. |
Eliminate Duplicate Dimensions | ="True" | True | Duplicate dimensions will not be placed on the view. |
Insert Dimensions Using Sketch Placement | ="True" | True | Will place dimensions in line with their position in the sketch of the model. |
Insert Hidden Dimension Features | ="True" | True | Will dimension hidden features. |
Options | 0 | 0 | Will insert dimensions from the entire model. |
Types of dimensions | 32768 | 32768 | Will insert dimensions that have been marked for drawing only. |
View Name | ="Drawing View3" | Drawing View3 | Will dimension Drawing View3 only.
This value would be ignored if the setting Add to all views was True.
|
This Task can be added to SOLIDWORKS Drawings in the following Generation Sequence(s):