Description:
The angle between the lines is dimensioned. If the lines intersect in a single point, that point is used as the center of the angular dimension arc.In this case, there are eight possible angles to dimension.The pointOnAngularDimensionArc and pointOnLine parameters are used to select the correct angle to dimension. If a pointOnLine parameter is not set, the corresponding line's midpoint is used. If the lines are colinear, the point on the line closest to pointOnAngularDimensionArc is the center of the angular dimension arc.
Syntax:
public static AngularDimension Create(
DimensionStyle dimStyle,
Line line1,
Point3d pointOnLine1,
Line line2,
Point3d pointOnLine2,
Point3d pointOnAngularDimensionArc,
bool bSetExtensionPoints
)
DimensionStyle dimStyle,
Line line1,
Point3d pointOnLine1,
Line line2,
Point3d pointOnLine2,
Point3d pointOnAngularDimensionArc,
bool bSetExtensionPoints
)
Parameters:
- dimStyle
- Type: DimensionStyle
- Dimension style.
- line1
- Type: Line
- The first line.
- pointOnLine1
- Type: Point3d
- If specified, indicates which semi-infinite portion of line1 to dimension. Otherwise the midpoint of line1 as a segment is used. When in doubt, use Point3d.Unset.
- line2
- Type: Line
- The second line.
- pointOnLine2
- Type: Point3d
- pointOnAngularDimensionArc
- Type: Point3d
- A point on the interior of the angular dimension arc.
- bSetExtensionPoints
- Type: bool
- If bSetExtensionPoints is true, and a pointOnLine parameter is valid, that point is used as the extension point. Otherwise the angular dimension arc endpoint is used.
Returns:
Type: AngularDimension
The angular dimension if successful, None otherwise.
Available since:
8.0
Description:
Creates an angular dimension with extension lines starting at plane origin (arc center).
Syntax:
public static AngularDimension Create(
DimensionStyle dimStyle,
Plane plane,
Vector3d horizontal,
Point3d centerpoint,
Point3d defpoint1,
Point3d defpoint2,
Point3d dimlinepoint
)
DimensionStyle dimStyle,
Plane plane,
Vector3d horizontal,
Point3d centerpoint,
Point3d defpoint1,
Point3d defpoint2,
Point3d dimlinepoint
)
Parameters:
- dimStyle
- Type: DimensionStyle
- Dimension's dimension style
- plane
- Type: Plane
- Dimension's plane.
- horizontal
- Type: Vector3d
- Horizontal reference direction.
- centerpoint
- Type: Point3d
- Dimension center point.
- defpoint1
- Type: Point3d
- Point on first extension line.
- defpoint2
- Type: Point3d
- Point on second extension line.
- dimlinepoint
- Type: Point3d
- Point on dimension arc.
Returns:
Type: AngularDimension
The angular dimension if successful, None otherwise.
Available since:
6.0
Description:
Creates an angular dimension from parameters.
Syntax:
public static AngularDimension Create(
DimensionStyle dimStyle,
Plane plane,
Vector3d horizontal,
Point3d extpoint1,
Point3d extpoint2,
Point3d dirpoint1,
Point3d dirpoint2,
Point3d dimlinepoint
)
DimensionStyle dimStyle,
Plane plane,
Vector3d horizontal,
Point3d extpoint1,
Point3d extpoint2,
Point3d dirpoint1,
Point3d dirpoint2,
Point3d dimlinepoint
)
Parameters:
- dimStyle
- Type: DimensionStyle
- The dimension style.
- plane
- Type: Plane
- The dimension's plane.
- horizontal
- Type: Vector3d
- The horizontal direction.
- extpoint1
- Type: Point3d
- Start of first extension line.
- extpoint2
- Type: Point3d
- start of second extension line.
- dirpoint1
- Type: Point3d
- point on first extension vector.
- dirpoint2
- Type: Point3d
- Spoint on second extension vector.
- dimlinepoint
- Type: Point3d
- point on dimension line.
Returns:
Type: AngularDimension
Available since:
8.0
Description: