3D Part > 3D Container 4 "Instance" (Entity Type "Extended Object")

www.CAD6.com

The 3D container "Instance" is used to store a 3D block instance in a 3D Part.

 

Data Block Sequence

General:

Data Block 1101( 4, Resolution )

Data Block 1000( Matrix )

Data Block 110( Comment )

Specific:

Data Block 1180( DisplayMode )

Data Block 110( LibraryName )

Data Block 110( BlockName )

 

Parameters

Resolution

[__int32] Relative resolution of this element. Possible values are:

0Default × 0.35
1Default × 0.5
2Default × 0.71
3Default
4Default × 1.41
5Default × 2
6Default × 2.82

Matrix

[MKI_3D_MATRIX] 3×4 elements of a 3D matrix.

Comment

[MKI_COMMENTSHORT] Comment on the 3D container.

DisplayMode

[__int32] A bit-wise OR combination of options. It can be any combination of the following values:

0x00000000

No special mode.

LibraryName

[MKI_LIBRARYNAME] Name of the library.

BlockName

[MKI_BLOCKNAME] Name of the block.

 

Interface Command Sequence

MKI_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 = 1180, ElemCount = 1

MKI_ExtAddText, Type = 110, Size = 64, StaticLength = true

MKI_ExtAddText, Type = 110, Size = 256, StaticLength = true

MKI_ExtDataAddOpenObject

 

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 ),

               b1180( f_pObj ),

               b111( f_pObj ),

               b112( f_pObj );

b1000.SetNext( b1101 );

b110.SetNext( b1000 );

b1180.SetNext( b110 );

b111.SetNext( b1180 );

b112.SetNext( b111 );

 

__int32 nContainerType = b1101.Int32(0);

__int32 nResolution = b1101.Int32(1);

 

...

 

CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH