Extended Object 17 "Incremental Dimension, Architectural" (Entity Type "Extended Object")

www.CAD6.com

 

The extended object "Incremental Dimension, Architectural" is defined by CAD6studio and CAD6industrie.

 

Creation of this extended object is not supported in CAD6starter and CAD6engine Eco! If already created, it can be displayed and modified generally, but not modified parametrically.

 

Data Block Sequence

Data Block 225( Options )

Data Block 000( Start )

Data Block 000( Direction )

Data Block 000( Position )

Data Block 000( End )

 

Mandatory For Each Measure Point

Data Block 000( Point )

 

Optional For Each Measure Point

Data Block 1000( Update )

Data Block 1001( Prefix )

Data Block 1002( Value )

Data Block 1003( Postfix )

Data Block 1004( Tolerance1 )

Data Block 1005( Tolerance2 )

 

(x1,y1) and (x2,y2) determine the start point and the direction. (x3,y3) determines the dimension line position. (x4,y4) determines the common end of all dimension extension lines. All further points are measure points with accompanying optional update mode and texts. The update and text data blocks are only present if their contents is non-default. So for each block that does not exist, assume them to be "true" or empty, respectively.

 

Parameters

Options

[MKI_DIMLARGE] Distance dimension parameters.

Start

[MKI_POINT] Start point of the dimension and first measure point.

Direction

[MKI_POINT] Direction of the dimension.

Direction

[MKI_POINT] Dimension line position.

End

[MKI_POINT] Defines the common end of all dimension extension lines.

Point

[MKI_POINT] Additional measure point(s).

Update

[__int32] If zero, the dimension text in Value will be used instead of the calculated value. If this block does not exist, assume Value to be non-zero.

Prefix

[MKI_STRSHORTW] Prefix text for the dimension linked to the previous measure point. If this block does not exist, assume Prefix to be empty.

Value

[MKI_STRSHORTW] Dimension text for the dimension linked to the previous measure point. If this block does not exist, assume Value to be empty.

Postfix

[MKI_STRSHORTW] Postfix text for the dimension linked to the previous measure point. If this block does not exist, assume Postfix to be empty.

Tolerance1

[MKI_STRSHORTW] Upper tolerance text for the dimension linked to the previous measure point. If this block does not exist, assume Tolerance1 to be empty.

Tolerance2

[MKI_STRSHORTW] Lower tolerance text for the dimension linked to the previous measure point. If this block does not exist, assume Tolerance2 to be empty.

 

Interface Command Sequence

MKI_ExtOpen, OwnerID = MKI_DB_OWNER_MK, Type = MKI_OBJ_EXT_DIM_INCREMENT2, Flag = MKI_EXTFLAG_DIM | MKI_EXTFLAG_TEXT

MKI_ExtAddDataBlock, Type = MKI_DB_INFO_DIMLARGE, ElemType = MKI_DB_TYPE_NATIVE

MKI_ExtAddPoint, Type = MKI_DB_POINT_ANY

MKI_ExtAddPoint, Type = MKI_DB_POINT_ANY

MKI_ExtAddPoint, Type = MKI_DB_POINT_ANY

MKI_ExtAddPoint, Type = MKI_DB_POINT_ANY

 

Mandatory for each measure point:

MKI_ExtAddPoint, Type = MKI_DB_POINT_ANY

 

Optional for each measure point:

MKI_ExtAddInt32, Type = 1000

MKI_ExtAddText, Type = 1001, Size = MKI_LENGTH_TEXT_SHORT, Static = true

MKI_ExtAddText, Type = 1002, Size = MKI_LENGTH_TEXT_SHORT, Static = true

MKI_ExtAddText, Type = 1003, Size = MKI_LENGTH_TEXT_SHORT, Static = true

MKI_ExtAddText, Type = 1004, Size = MKI_LENGTH_TEXT_SHORT, Static = true

MKI_ExtAddText, Type = 1005, Size = MKI_LENGTH_TEXT_SHORT, Static = true

 

MKI_ExtFastInsert

 

Use code like the following to parse the data blocks of this entity in memory:

 

MKI_BLOCK_ENUM b225( f_pExt ),

               b1( f_pExt );

b1.SetNext( b225 );

 

Followed by a loop running through all data blocks and copying them into an array.

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH