Object 21 "Dimension Line Curved" (Entity Type "Object") Changed in Version 2021.0

www.CAD6.com

 

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!

 

Data Block Sequence

Data Block 003( Center )

Data Block 004( Radius )

Data Block 005( Angle1 )

Data Block 005( Angle2 )

Data Block 101( Orientation )

Data Block 220( Options )

 

Parameters

Center

[MKI_POINT] Center point of the circle.

Radius

[MKI_POINT] Radius point of the circle.

Angle1

[MKI_POINT] Start angle of the arc.

Angle2

[MKI_POINT] End angle of the arc.

Orientation

[double] Direction 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.

Options

[MKI_DIMLINE] Dimension line parameters.

 

Attributes New in Version 2021.0

A 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:

-Outline attributes must be placed anywhere behind the first point. Any outline attribute after the first point data block belongs to the outline.
-Point attributes must be placed behind the respective point. Any point attribute after point data block P and before the next point data block (or end of object) belongs to that point P.
-Local attributes should be placed behind all other datablocks and attributes.

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 Sequence

MKI_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

MKI_ObjectAddOrient

MKI_ObjectAddDimLine

MKI_ObjectFastInsert

 

Use the MKI_PARSE_OBJ_DARC class to parse the data blocks of such an object in memory.

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH