|
MKI_LayerSetActive (Elements) Changed in Version 2024.0 |
www.CAD6.com |
C++ Syntaxbool MKI_LayerSetActive( __int32 f_nIndex, bool f_fApply );
Sets a new active layer in the current drawing.
ParametersIndex [__int32] Zero-based index of the layer that shall be set active. Valid range: 0 <= Value <= MKI_LAYER_MAX. Apply New in Version 2024.0 [bool] If true, the new active layer will be assigned to all objects that are currently being edited by means of the "Modify Objects" command (if there are any). In that case, it will not be set as new active layer of the drawing.
Return ValueReturns true if successful, false if not.
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH