MKI_LAYERPROPERTY (Entity Data Classes) New in Version 2016.0

www.CAD6.com

C++ Syntax

class MKI_LAYERPROPERTY

{

  public:

 

  MKI_PROPERTY m_cProperty;

  __int32 m_nFlag;

 

  void

  Init( void );

 

  void

  Apply( const MKI_LAYERPROPERTY& f_rData );

};

 

This structure contains a layer property set.

 

Element Description

m_cProperty

[MKI_PROPERTY] Property set.

m_nFlag

[__int32] The transmission flags indicate whether to transmit a specific property or not. This is a bit-wise OR combination of one or more values (see MKI_USE_*).

 

MKD Syntax

The data type MKI_LAYERPROPERTY is used to store a layer's properties in a mapping. They can override the line width, line color, line type etc. of all objects assigned to a layer.

 

Flag,FillMode,FillColor,LineColor,LineWidth,LineType,LineMode,

FillAlpha,LineAlpha,LineTypeScale

 

Example

8,2,0/1/0/0,0/1/0/0,0.0,0,0,0,0,1.0

 

The line color will be set to RGB red, all other properties remain unchanged.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH