|
3D Part > 3D Container 5 "Operator" (Entity Type "Extended Object") |
www.CAD6.com |
|
The 3D container "Operator" is used to store a 3D operator in a 3D Part.
Data Block SequenceGeneral: Data Block 1101( 5, Resolution ) Data Block 1000( Matrix ) Data Block 110( Comment ) Specific: Data Block 1150( Type, Mode, Integer1, Integer2 ) Data Block 1151( Double1, Double2, Double3, Double4, Double5, Double6 ) Data Block 1003( Point1, Point2, Point3 )
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 operator. 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 Maintain edges from set A. 0x00000002 Maintain edges from set B. 0x00000004 Automatically detect edges. Integer1 Integer2 [__int32] Universal integer values. Their use depend on the operator type. Set to 0 if unused. Double1 Double2 Double3 Double4 Double5 Double6 [double] Universal double values. Their use depend on the operator type. Set to 0 if unused. Point1 Point2 Point3 [MKI_3D_POINT] Universal 3D points. Their use depend on the operator type. Set to 0 if unused.
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 = 1150, ElemCount = 4 MKI_ExtAddDouble, Type = 1151, ElemCount = 6 MKI_ExtAddDouble, Type = 1003, ElemCount = 9
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 ), b1150( f_pObj ), b1151( f_pObj ), b1003( f_pObj ); b1000.SetNext( b1101 ); b110.SetNext( b1000 ); b1150.SetNext( b110 ); b1151.SetNext( b1150 ); b1003.SetNext( b1151 );
__int32 nContainerType = b1101.Int32(0); __int32 nResolution = b1101.Int32(1);
...
|
CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH