|
Extended Object 100 "Center Hole DIN 332 T10" (Entity Type "Extended Object") |
www.CAD6.com |
|
The extended object "Center Hole DIN 332 T10" 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 SequenceData Block 1010( Font ) Data Block 1011( TextSize, LineWidth ) Data Block 1060( SymbolForm, Unused ) Data Block 1065( TextA ) Data Block 1005( Position )
ParametersFont [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:
Unused [__int32] Unused, set to 0. 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. Position [double[2]] Coordinates of the position.
Interface Command SequenceMKI_ExtOpen, OwnerID = MKI_DB_OWNER_MK, Type = MKI_OBJ_EXT_LABEL_DIN332, Flag = MKI_EXTFLAG_DIM | MKI_EXTFLAG_TEXT | MKI_EXTFLAG_MULTITEXT MKI_ExtAddFontDef, Type = 1010 MKI_ExtAddDouble, Type = 1011, ElemCount = 2 MKI_ExtAddInt32, Type = 1060, ElemCount = 2 MKI_ExtAddText, Type = 1065, 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 ), b1060( f_pExt ), b1065( f_pExt ), b1005( f_pExt ); b1011.SetNext( b1010 ); b1060.SetNext( b1011 ); b1065.SetNext( b1060 ); b1005.SetNext( b1065 );
MKI_FONTDEF cFont = b1010.FontDef(0);
...
|
CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH