3D Mapping > 3D Container "Mapping" (Entity Type "Extended Object")

www.CAD6.com

The 3D container "Mapping" is used to store 3D mapping information in a 3D Mapping.

 

Data Block Sequence

General:

Data Block 1101( 10, Resolution )

Data Block 1000( Matrix )

Data Block 110( Comment )

Specific:

Data Block 1160( SpaceIndex, BaseResolution, Projection, ViewDepth, Mode )

 

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.

SpaceIndex

[__int32] Zero-based index of the space this 3D mapping shall display.

BaseResolution

[__int32] Base 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

Projection

[__int32] Projection type. Possible values are:

0Isometric
6Central

ViewDepth

[__int32] 3D view depth. Valid range: 1,000 ≥ x ≥ 1,000,000.

Mode

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

0x00000000

No special mode.

0x00000001

Scale isometric view to original size.

0x00000002

Display only 3D Parts that are assigned to Model Space.

0x00000004

Do not display construction aid.

0x00000008

Automatic update.

 

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 = 1160, ElemCount = 5

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

               b1160( f_pObj );

b1000.SetNext( b1101 );

b110.SetNext( b1000 );

b1160.SetNext( b110 );

 

__int32 nContainerType = b1101.Int32(0);

__int32 nResolution = b1101.Int32(1);

 

...

 

CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH