Formulas for extracting dimension values

The formula in this page extracts the values of various types of dimensions.

NOTE: The formulas requires that you supply the ID of the dimension whose length you want to extract. Here's how to do this: (1) To see the ID of a discrete object: Place the mouse cursor on the object. Do not click. The object becomes highlighted. Then look at the lower left corner of the application's window. (2) To see the ID of an object in a Synergy component: Press and hold down CTRL+SHIFT, and then place the mouse cursor on the object. Do not click. The object becomes highlighted. Then look at the lower left corner of the application's window. The pictures below show you where to look for these IDs.

Extracting Object Length

The formula

To Extract Use
A dimension value objsize("dimension ID", "")
  1. THE PARAMETERS
  2. dimension ID The ID of the dimension whose length you want to extract.
  3. "" These quotation marks must always be empty.
  4. Know your list separator: When typing a formula, make sure you separate its elements with your computer's list separator symbol. Yours may be different from the one used in this guide. Examples (in red):
    With Semicolon With Comma
    $Layout1.Length(Cutting; m; yes); n2$ $Layout1.Length(Cutting, m, yes), n2$
Counting Closed Contours

Examples

To extract the value of a dimension Use Example
ID=Slope3 objsize("Slope3"; "") 185.50
ID=Radius4 objsize("Radius4"; "") 10.00
Of a component with ID=ASC74.Slope13 objsize("ASC74.Slope13"; "") 12.00

See the general rules for how to write formulas and format formula results.