Home Search

DriveWorks Pro 22
Set Annotation Positions by Distance

Send Feedback

Set Annotation Positions by Distance

The Set Annotations Position by Distance Generation Task sets the XY position of an annotation.

We recommend applying this task in Post-Drive Tasks, Generation Sequence.

This ensures all views are resized and positioned before the Annotations are driven.

Properties

Property NameDescription
(Name)The unique name for this task.
Annotation PositionsA table of annotation positions. Columns must be: Sheet or View Name, Annotation Name, Axis, X Value and Y Value (in that order).

Example Annotation Positions Table

As the table will mostly be dynamic we recommend using a Calculation Table.

Sheet or View NameAnnotation NameAxisX ValueY ValueReference Horizontal AnchorReference Vertical Anchor
Drawing View1@Sheet1RD1@Drawing View1@<DrawingName>.DrawingYOnly0115LeftBottom
Drawing View1@Sheet1RD2@Drawing View1@<DrawingName>.DrawingXOnly-200LeftBottom
Sheet2DetailItem126Both5050LeftBottom
Drawing View3@Sheet2D1@Distance1@<AssemblyName>.AssemblyYOnly0115LeftBottom
Drawing View3@Sheet2D1@Sketch1@<PartName>.PartXOnly-200LeftBottom
Section View A-A@Sheet2RD3@Drawing View5@<DrawingName>.DrawingXOnly-100LeftBottom

Sheet or View Name

  • When an annotation is attached to a view, the format is:

    <ViewName>@<SheetName>

    For example:

    Drawing View1@Sheet1

  • For Detail or Section Views the <ViewName> is the name displayed in the SOLIDWORKS Feature Manager.

    For example:

    Section View A-A@Sheet1

  • When an annotation is on the sheet (not attached to a view), the format is:

    <SheetName>

Annotation Name

  • When an annotation is a Model Dimension from an Assembly the format is:

    <Annotation Reference>@<Feature Reference>@<AssemblyName>.Assembly

  • When an annotation is a Model Dimension from a Part the format is:

    <Annotation Reference>@<Feature Reference>@<PartName>.Part

  • When an annotation is a Reference Dimension attached to a view the format is:

    <Annotation Reference>@<ViewName>@<DrawingName>.Drawing

    For Detail and Section Views The View number (not the View name) is required in the address of the annotation.

    For example:

    RD1@Drawing View2@<DrawingName>.Drawing

    The View number can be found by right clicking the View name from the SOLIDWORKS feature manager.

    Alternatively to see the exact address, refer to How To Find The Annotation Name below.

  • When an annotation is a Reference Dimension attached to a sheet the format is:

    <Annotation Reference>

How To Find The Annotation Name

To find the Annotation Name you can use the DriveWorks Capture Pane inside SOLIDWORKS:

  1. Open the captured Master Drawing file in SOLIDWORKS.
  2. Switch to the Annotation Text tab of the DriveWorks Task Pane.
  3. Select the Annotation you want to position.
  4. The dimension address will appear in the Address field of the DriveWorks Task Pane.
  5. You can copy and paste this into DriveWorks for use in rules.

You do not need to Capture the Annotation to use the Set Annotation Position Generation Task.

Positioning The Annotation

The Axis property determines which of the X Value and Y Value properties are used to position the Annotation.

Property ValueResult
BothWill use both the X Value and the Y Value properties to position the Annotation.
XOnlyWill ignore the Y Value property and will only position the Annotation in the X Axis.
YOnlyWill ignore the X Value property and will only position the Annotation in the Y Axis.

The X Value and Y Value are expressed as a distance in the document units. For example, X Value = 50, this will position the Annotation 50mm (when the document units are mm) from the bottom left corner of the Sheet or View.

The X Value and Y Value properties accept negative values.

If an Annotation is not attached to a Drawing View, the X Value and Y Value are in relation to the entire sheet.

If an Annotation is attached to a Drawing View the X Value and Y Value are in relation to the Bounding box of the Drawing View.

X Value = 0, Y Value = 0, is the bottom left hand corner of the Sheet or View.

This Task works best when placed in Post-Drive Tasks. All views will have been resized and repositioned before the Annotations are positioned.

Generation Sequence

This Task can be added to 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)