![]() |
MKI_LayerSetByIndex (Elements) Changed in Version 2019.0 |
www.CAD6.com |
C++ Syntaxbool MKI_LayerSetByIndex( __int32 f_nIndex, MKI_CONST_LAYERDEF_REF f_rData );
Replaces the current drawing layer definition with the new definition pointed to by Data.
In order to delete a layer definition, replace it with a layer definition where Data->LayerName is set to "".
ParametersIndex [__int32] Zero-based index of the layer definition that shall be set. Valid range: 0 < Value <= MKI_LAYER_MAX. Data [MKI_CONST_LAYERDEF_REF] Address of a buffer containing the new layer definition. The name of the layer must not begin with a '*' character!
Return ValueReturns true if successful, false if not.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH