|   | MKI_LAYERDATA (Basic Classes) Changed in Version 2022.1 | www.CAD6.com | 
| C++ Syntaxclass MKI_LAYERDATA { public: 
 MKI_LAYERPROPERTY m_cData[MKI_LAYER_MAX]; 
 void Init( void ); 
 void Apply( const MKI_LAYERDATA& f_rData ); 
 bool IsIdentical( const MKI_LAYERDATA& f_rData ) const; Changed in Version 2022.1 }; 
 This structure contains property sets for all layers. 
 Element Descriptionm_cData [MKI_LAYERPROPERTY[]] Property sets for all layers. The first entry corresponds to layer index 1, the last entry to layer index MKI_LAYER_MAX. 
 MKD SyntaxThe data type MKI_LAYERDATA is used to store all layers' properties in a mapping. They can override the line width, line color, line type etc. of all objects assigned to a layer. The array is stored as a list of indexed entries. The list usually contains only those entries that actually override anything, i.e. whose flag is non-zero. Upon reading this list, all other entries shall be set to their default values. 
 HeaderTotalNum; 
 Entry for each Layer Property DefinitionLayerIndex,Property; 
 Element Descriptionm_nTotalNum [__int32] Number of layer properties to follow. Valid range is 0 to MKI_LAYER_MAX inclusive. m_nLayerIndex [__int32] Index of the layer in the array, valid range is 0 to MKI_LAYER_MAX - 1 inclusive. m_cProperty [MKI_LAYERPROPERTY] Property sets for one layer. 
 Example1; 3,8,2,0/1/0/0,0/1/0/0,0.0,0,0,0,0,1.0; 
 The line color of the fourth layer (array index 3) will be set to RGB red, all other properties remain unchanged. 
 | 
CAD6interface 2025.2 - Copyright 2025 Malz++Kassner® GmbH