Refer to a C programming guide for additional formatting options available with the %f format. Do not include other printf formatting characters (e.g., %s); shape_edit may crash. Use only %f, and no more than once.
The padding value is the amount of blank space to leave for the label. In a linear dimension, a line is drawn between the two endpoints. The padding value is the amount of space (parametrically speaking) which is left blank to allow for the text.
linDim( Pt1, Pt2, OffsetVec, ArrowheadSize, FmtString, LabelLoc, LabelPad, ArrowsOutside, ArrowLength )
- Returns
- <linDim> Constructs a linear dimension type.
- Pt1, Pt2
- <point> Endpoints of the distance to document.
- OffsetVec
- <vector | false> The direction in which to project the distance to measure. The default is 90 degrees counterclockwise from the direction from Pt1 to Pt2.
- ArrowheadSize
- <string | false> Size of the arrowheads, as described above.
- FmtString
- <string | false> A string as described above giving the format of the label. The default is "%f".
- LabelLoc
- <number | false> A number between 0 and 1 describing where the label should be placed along the distance between Pt1 and Pt2. The default is 0.5. If ArrowsOutside is true, this argument is ignored.
- LabelPad
- <number | false> A number between 0 and 1 describing what portion of the line drawn along the dimension direction should be left blank for the label. The default is 0. if ArrowsOutside is true, this argument is ignored.
- ArrowsOutside
- <boolean> (optional) If true, the arrows are drawn outside of the line segments indicating the end points. The default is false. If true, LabelLoc and LabelPad are ignored, and should be false.
- ArrowLength
- <number> (optional) The length of the arrows in modeling coordinates when ArrowsOutside is true. If not specified, it defaults to twice the distance between endpoints.
diaDim( CenterPt, ArcPt, ArrowheadSize, FmtString, LabelLoc, LabelPad, DiamFlag, ArrowsOutside, BentLen, HorizLen )
- Returns
- <diaDim> Constructs a diameter/radius dimension type.
- CenterPt
- <point> Center point of circle or circular arc.
- ArcPt
- <point> Point on circle or arc where arrow will point.
- ArrowheadSize
- < string | false> Arrowhead size, as described above.
- FmtString
- <string | false> A string as described above giving the format of the label. The default is "%f".
- LabelLoc
- <number | false> A number between 0 and 1 describing where the label should be placed along the distance between Pt1 and Pt2. The default is 0.5. If ArrowsOutside is true, this argument is ignored.
- LabelPad
- <number | false> A number between 0 and 1 describing what portion of the line drawn along the dimension direction should be left blank for the label. The default is 0. if ArrowsOutside is true, this argument is ignored.
- DiamFlag
- <boolean> If true, the diameter of the arc or circle will be described instead of the radius.
- ArrowsOutside
- <boolean> (optional) If true, the arrows are drawn outside of the line segments indicating the end points. The default is false. If true, LabelLoc and LabelPad are ignored, and should be false.
- BentLength
- <number> (optional) The length in model coordinates of the bent portion of the arrow if ArrowsOutside is true. The default is 0.5.
- HorizLength
- <number> (optional) The length in model coordinates of the horizontal portion of the arrow if ArrowsOutside is true. The default is 0.5.
angDim( CenterPt, Dir1, Dir2, ArrowheadSize, FmtString, LabelLoc, LabelPad, Radius, ArrowsOutside, ArrowAngle )
- Returns
- <angDim> Constructs an angle dimension type.
- CenterPt
- <point> Vertex point of angle to be measured.
- Dir1, Dir2
- <vector> Vectors describing the angle to be measured.
- ArrowheadSize
- <string | false> Arrowhead size, as described above.
- FmtString
- <string | false> A string as described above giving the format of the label. The default is "%f".
- LabelLoc
- <number | false> A number between 0 and 1 describing where the label should be placed along the distance between Pt1 and Pt2. The default is 0.5. If ArrowsOutside is true, this argument is ignored.
- LabelPad
- <number | false> A number between 0 and 1 describing what portion of the line drawn along the dimension direction should be left blank for the label. The default is 0. if ArrowsOutside is true, this argument is ignored.
- Radius
- <number | false> The distance in model coordinates from CenterPt where the arrows are to be drawn.
- ArrowsOutside
- <boolean> (optional) If true, the arrows are drawn outside of the line segments indicating the end points. The default is false. If true, LabelLoc and LabelPad are ignored, and should be false.
- ArrowAngle
- <number> (optional) The portion of a circle that will be used to draw outside annotation arcs when ArrowsOutside is true. The default is an arc equivalent to the angle being measured.
pointLabel( Pt, ArrowheadSize, LabelString, BentAngle, BentLength, HorizLength )
- Returns
- <pointLabel> Constructs a point label type.
- Pt
- <point> The point to label.
- ArrowheadSize
- <string | false> Arrowhead size, as described above.
- LabelString
- <string> The label text.
- BentAngle
- <vector | false> The direction for the bent portion of the arrow. Note: The arrow will point in the direction opposite that of the given vector. The default is 45 degrees from the X axis.
- BentLength
- <number | false> The length in model coordinates of the bent portion of the arrow. The default is 0.5;
- HorizLength
- <number | false> The length in model coordinates of the horizontal portion of the arrow. The default is 0.5.