Extended Object 96 "Surface Finish ISO 1302" (Entity Type "Extended Object")

www.CAD6.com

 

The extended object "Surface Finish ISO 1302" 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 1010( Font )

Data Block 1011( TextSize, LineWidth )

Data Block 1020( SymbolForm, SymbolD )

Data Block 1025( TextA )

Data Block 1026( TextB )

Data Block 1027( TextC )

Data Block 1028( TextE )

Data Block 1005( Position )

 

Parameters

Font

[MKI_FONTDEF] Description of the font to be used for this text.

TextSize

[double] Size of the font. This size is handled differently depending of the font's type. If the font is a TrueType or device font, this value determines the typographical font size, i.e. the minimum offset between two lines of texts.

If the font is internal, this value determines the actual character height. Usually, an internal font will be displayed about 25% larger with the same value of TextSize.

LineWidth

[double] Width of the object's outline in [mm] between 0.0 and MKI_LINEWIDTH_MAX (including). A width of 0.0 always results in a line of the minimum width possible on the respective device (one pixel). Any negative value is interpreted as "by layer", i.e. the line width will be defined by the corresponding layer (use MKI_LINEWIDTH_BYLAYER).

SymbolForm

[__int32] Form of the symbol to display. Possible values are:

0Standard
1Material-Separating
2Non Material-Separating

SymbolD

[__int32] Form of the symbol at location "D". Possible values are:

0None
1Parallel
2Perpendicular
3Crossed
4Multiple
5Centric
6Radial

TextA

[MKI_STRSHORTW] Text for location "A" (see image above). Its length may be up to MKI_LENGTH_TEXT_SHORT characters including the terminating zero character (0x00). See also Advanced Text Capabilities.

TextB

[MKI_STRSHORTW] Text for location "B" (see image above). Its length may be up to MKI_LENGTH_TEXT_SHORT characters including the terminating zero character (0x00). See also Advanced Text Capabilities.

TextC

[MKI_STRSHORTW] Text for location "C" (see image above). Its length may be up to MKI_LENGTH_TEXT_SHORT characters including the terminating zero character (0x00). See also Advanced Text Capabilities.

TextE

[MKI_STRSHORTW] Text for location "E" (see image above). Its length may be up to MKI_LENGTH_TEXT_SHORT characters including the terminating zero character (0x00). See also Advanced Text Capabilities.

Position

[double[2]] Coordinates of the position.

 

Interface Command Sequence

MKI_ExtOpen, OwnerID = MKI_DB_OWNER_MK, Type = MKI_OBJ_EXT_LABEL_ISO1302, Flag = MKI_EXTFLAG_DIM | MKI_EXTFLAG_TEXT | MKI_EXTFLAG_MULTITEXT

MKI_ExtAddFontDef, Type = 1010

MKI_ExtAddDouble, Type = 1011, ElemCount = 2

MKI_ExtAddInt32, Type = 1020, ElemCount = 2

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

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

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

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

MKI_ExtAddDouble, Type = 1005, ElemCount = 2

 

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

 

MKI_BLOCK_ENUM b1010( f_pExt ),

               b1011( f_pExt ),

               b1020( f_pExt ),

               b1025( f_pExt ),

               b1026( f_pExt ),

               b1027( f_pExt ),

               b1028( f_pExt ),

               b1005( f_pExt );

b1011.SetNext( b1010 );

b1020.SetNext( b1011 );

b1025.SetNext( b1020 );

b1026.SetNext( b1025 );

b1027.SetNext( b1026 );

b1028.SetNext( b1027 );

b1005.SetNext( b1028 );

 

MKI_FONTDEF cFont = b1010.FontDef(0);

 

...

 

CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH