DriveWorks Solo 15: Annotation Dimension Text [send feedback...]

Introduction

The text displayed around a reference dimension (not a model item dimension) in a drawing view can be controlled by DriveWorks.

Syntax

A dimension text rule is used to control the text shown on a reference dimension in a drawing.

SETTEXT([TextPosition],[Text])

Where TextPosition is an index number representing the the position to place the text (see chart below)

Text is a number or text to insert in that position

Position ImageDescriptionTextPosition Index Number
Places text to the left of the display dimension1
Places text to the right of the display dimension2
Places text above the display dimension3
Places text below the display dimension4
Replaces all text in the display dimension with the string5
RuleMeaning
"SetText(2,OAll Length)"Places the text OAll Length after the display dimension
"SetText(4,Reference Only)"Places the text Reference Only below the display dimension

Using the DimensionText helper

DriveWorks has two helper functions that assist in the creation of dimension text. These are found in the DriveWorks Rule Builder functions list.

RuleMeaning
DimensionText("Left","","Right","")Sets the text to the left of the dimension to be Left, and the text to the right to be Right.
DimensionTextAll("All Text")Removes all of the text from the dimension, including any to the left, top, right, and bottom, and replaces it with All Text.

Table of Contents