Object 21 "Dimension Line Curved" (Entities) Changed in Version 2021.0 |
www.CAD6.com |
Data Block SequenceData Block 003( cx, cy ) - Center-point Data Block 004( rx, ry ) - Radius definition Data Block 005( ax1, ay1 ) - Start-angle definition Data Block 005( ax2, ay2 ) - End-angle definition Data Block 101( Orientation ) - Arc direction Data Block 220( ... ) - Dimension line parameters
The point (cx,cy) determines the circle's center-point, the point (rx,ry) is a point on the circle's outline and thus defines the radius. The points (ax1,ay1) and (ax2,ay2), in relation to the circle's center-point (cx,cy), determine the start- and end-angle of the arc. If Orientation >= 0, the arc is drawn counter-clockwise from the start-angle to the end-angle. If Orientation < 0, the arc is drawn clockwise.
The two angles determine the arrow's end-points, but not necessarily the line's end-points. If the arrows are rotated, the dimension line will overlap the given angles.
A dimension line is by definition an "open" object, i.e. it has a non-closed outline and cannot be filled. Nevertheless, the dimension arrows will be filled if required. This is independent from the object's properties!
Attributes New in Version 2021.0A dimension line may contain attribute data blocks (see MKI_BLOCK_ATTRIBUTE) of types "local", "outline", and "point". Their position in the list of data blocks must be as follows:
The total number of attributes of each type (local, outline, point) per respective element (entity, outline, and point) is limited to MKI_ATTRIBS_PER_OBJECT.
Interface Command SequenceMKI_ObjectOpen, Type = MKI_OBJ_DARC MKI_ObjectAddPoint, Type = MKI_DB_POINT_CENTER MKI_ObjectAddPoint, Type = MKI_DB_POINT_RADIUS MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANGLE MKI_ObjectAddPoint, Type = MKI_DB_POINT_ANGLE
Use the MKI_PARSE_OBJ_DARC class to parse the data blocks of such an object in memory.
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH