MKI_LayerGetLibraryByIndex (Elements) Renamed in Version 2015.0

www.CAD6.com

C++ Syntax

bool

MKI_LayerGetLibraryByIndex(

 const LPCWSTR f_pszLibraryName,

 __int32 f_nIndex,

 MKI_LAYERDEF_REF f_rData );

 

Copies the desired library layer definition into the buffer pointed to by Data, if defined.

 

Parameters

LibraryName

[const LPCWSTR] Name of the library whose layer definition shall be returned. Fails if the library name is MKI_BLOCK_ID.

Index

[__int32] Zero-based index of the layer definition that shall be returned. Valid range: 0 <= Value <= MKI_LAYER_MAX.

Data

[MKI_LAYERDEF_REF] Address of a buffer to retrieve the desired layer definition.

 

Return Value

Returns true if successful, false if not.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH