Extended Object 35 "Arrow" (Entity Type "Extended Object")

www.CAD6.com

 

The extended object "Arrow" 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 1020( Width1, Width2, Scale1, Scale2 )

Data Block 1021( Options, Form1, Form2 )

Data Block 001( Start )

Data Block 002( End )

 

Parameters

Width1

[double] Width of the arrow's stem in internal [mm] at the start point.

Width2

[double] Width of the arrow's stem in internal [mm] at the end point.

Scale1

[double] Scale of the symbol at the start point.

Scale2

[double] Scale of the symbol at the end point.

Options

[__int32] Reserved for future use, set to 0.

Form1

[__int32] Form of the symbol at the start point. Possible values are 0 to 24 (see figure below).

Form2

[__int32] Form of the symbol at the end point. Possible values are 0 to 24 (see figure below).

 

Start

[MKI_POINT] Start point of the arrow.

End

[MKI_POINT] End point of the arrow.

 

Interface Command Sequence

MKI_ExtOpen, OwnerID = MKI_DB_OWNER_MK, Type = MKI_OBJ_EXT_ARROW, Flag = MKI_EXTFLAG_SURFACE

MKI_ExtAddDouble, Type = 1020, ElemCount = 4

MKI_ExtAddInt32, Type = 1021, ElemCount = 3

MKI_ExtAddPoint, Type = MKI_DB_POINT_START

MKI_ExtAddPoint, Type = MKI_DB_POINT_END

MKI_ExtFastInsert

 

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

 

MKI_BLOCK_ENUM b1020( f_pExt ),

               b1021( f_pExt ),

               b1( f_pExt ),

               b2( f_pExt );

b1021.SetNext( b1020 );

b1.SetNext( b1021 );

b2.SetNext( b1 );

 

double dWidth1 = b1010.Double()[0];

double dWidth2 = b1010.Double()[1];

double dScale1 = b1010.Double()[2];

double dScale2 = b1010.Double()[3];

__int32 nOptions = b1011.Int32()[0];

__int32 nForm1 = b1011.Int32()[1];

__int32 nForm2 = b1011.Int32()[2];

MKI_POINT cStart = b1.Point(0);

MKI_POINT cEnd   = b2.Point(0);

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH