|
3D Part > 3D Container 3 "Standard" (Entity Type "Extended Object") |
www.CAD6.com |
|
The 3D container "Standard" is used to store 3D information in a 3D Part.
Data Block SequenceGeneral: Data Block 1101( 3, Resolution ) Data Block 1000( Matrix ) Data Block 110( Comment ) Specific: Data Block 1140( Type, Mode, Integer1, Integer2 ) Data Block 1141( Double1, Double2, Double3, Double4, Double5, Double6 ) Data Block 1001( Rotation )
ParametersResolution [__int32] Relative resolution of this element. Possible values are:
Matrix [MKI_3D_MATRIX] 3×4 elements of a 3D matrix. Comment [MKI_COMMENTSHORT] Comment on the 3D container. Type [__int32] Standard object type. Possible values are:
Mode [__int32] A bit-wise OR combination of options. It can be any combination of the following values: 0x00000000 No special mode. 0x00000001 Close the start of the path object. 0x00000002 Close the end of the path object. Integer1 Integer2 [__int32] Universal integer values. Their use depend on the standard type. Set to 0 if unused. Double1 Double2 Double3 Double4 Double5 Double6 [double] Universal double values. Their use depend on the standard type. Set to 0 if unused. Rotation [MKI_3D_VECTOR] Rotation around the X-, Y- and Z-axis in [rad]. The rotation around the Y-axis is inverted compared to a standard right-hand system.
Interface Command SequenceMKI_ObjectOpen, Type = MKI_OBJ_CONTAINER MKI_ExtAddInt32, Type = 1101, ElemCount = 2 MKI_ExtAddDouble, Type = 1000, ElemCount = 12 MKI_ExtAddText, Type = 110, Size = 256, StaticLength = true MKI_ExtAddInt32, Type = 1140, ElemCount = 4 MKI_ExtAddDouble, Type = 1141, ElemCount = 6 MKI_ExtAddDouble, Type = 1001, ElemCount = 3
Use code like the following to parse the data blocks of this entity in memory:
MKI_BLOCK_ENUM b1101( f_pObj ), b1000( f_pObj ), b110( f_pObj ), b1130( f_pObj ), b1131( f_pObj ), b1001( f_pObj ); b1000.SetNext( b1101 ); b110.SetNext( b1000 ); b1140.SetNext( b110 ); b1141.SetNext( b1140 ); b1001.SetNext( b1141 );
__int32 nContainerType = b1101.Int32(0); __int32 nResolution = b1101.Int32(1);
...
|
CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH