Dimensions

Once you have edges, you can create dimensions for them.

Dimension Properties
Dimension Creation Functions (these are Plane functions)

Note:   These will return a null pointer if the dimension fails to be created, so if you intend to name the dimension, you should use logic similar to the following:

  • var Hdim3 = HorizontalDim(pt6, 65, 57.5, YAxis, 0, 0, 34, 72);

  • if(Hdim3) Hdim3.Name = "HorizDim3";


For all dimensions below, locx, locy are the approximate location of the center of the text.


Release 18.2 - © ANSYS, Inc. All rights reserved.