Procedure AngularDim creates an angular dimension in the document.
Bit code values for dimension flags can be found in the VectorScript Appendix.
*Angular Dimension
PROCEDURE AngularDim(
startPtX,startPtY : REAL;
endPtX,endPtY : REAL;
vert1X,vert1Y : REAL;
textOffsetDistance : REAL;
arrow : INTEGER;
textFlag : INTEGER;
posAngle : REAL);def vs.AngularDim(startPt, endPt, vert1, textOffsetDistance, arrow, textFlag, posAngle):
return None| Name | Type | Description |
|---|---|---|
| startPt | REAL | X-Y coordinates of dimension start point. |
| endPt | REAL | X-Y coordinates of dimension end point |
| vert1 | REAL | X-Y coordinates of dimension arc center. |
| textOffsetDistance | REAL | Offset from dimension arc center (radius of the dimension arc). |
| arrow | INTEGER | Dimension arrowhead style flag. |
| textFlag | INTEGER | Dimension text style flag. |
| posAngle | REAL | Position angle of dimension text(from start). Auto position text overrides this value. |
AngularDim(1 1/2",3/8",-1/4",-1/2",7/8",-1/2",1.7001838",771,770,#35d 32'16");AngularDim(1.0, 2.0, 0.5, 1.5, 3.0, 1.0, 2.0, 1, 2, 0.5);vs.AngularDim((0, 0), (0, 0), vert1, 'Example', arrow, 'Example', 1.0)Availability: from All Versions
