|
3D Part > 3D Container 8 "Geometry" (Entity Type "Extended Object") |
www.CAD6.com |
|
The 3D container "Geometry" is used to store 3D geometry information in a 3D Part.
Data Block SequenceGeneral: Data Block 1101( 8, Resolution ) Data Block 1000( Matrix ) Data Block 110( Comment ) Specific: Data Block 1170( Type ) Data Block 1003( Point ) Only required for endless line and plane: Data Block 1001( Vector1 ) Only required for plane: Data Block 1001( Vector2 )
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] Type of geometry object. Possible values are:
Point [MKI_3D_POINT] X-, Y- and Z-coordinate of the point. The coordinates are in [mm] relative to the page center. Vector1 [MKI_3D_VECTOR] X-, Y- and Z-component of the first vector. The components are in [mm]. Vector2 [MKI_3D_VECTOR] X-, Y- and Z-component of the second vector. The components are in [mm].
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 = 1170, ElemCount = 1 MKI_ExtAddDouble, Type = 1003, ElemCount = 3 Only required for endless line and plane: MKI_ExtAddDouble, Type = 1001, ElemCount = 3 Only required for plane: 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 ), b1170( f_pObj ), b1003( f_pObj ); b1000.SetNext( b1101 ); b110.SetNext( b1000 ); b1170.SetNext( b110 ); b1003.SetNext( b1170 );
__int32 nContainerType = b1100.Int32(0); __int32 nResolution = b1101.Int32(1);
...
|
CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH