MKI_AttributeGetBlock (Attributes) New in Version 2021.0

www.CAD6.com

C++ Syntax

__int32

MKI_AttributeGetBlock(

 const LPCWSTR f_pszBlockName,

 const LPCWSTR f_pszLibraryName,

 MKI_ATTRIBUTE_DATA_PTR f_pData );

 

Retrieves all attributes (global and local) that are contained in the given block.

 

Parameters

BlockName

[const LPCWSTR] Name of the block whose attributes shall be retrieved.

LibraryName

[const LPCWSTR] Name of the library the block is located in.

Data

[MKI_ATTRIBUTE_DATA_PTR] Address of a buffer that shall received all retrieved attributes. You can use MKI_AttributeBuffer to allocate a buffer of the required size.

 

Return Value

Returns the number of attributes retrieved. If a negative value is returned, this indicates either the block was not found or invalid parameters

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH