MKI_RefAddAttribute (Entity Creation) New in Version 2021.0

www.CAD6.com

C++ Syntax

bool

MKI_RefAddAttribute(

 __int32 f_nType,

 const LPCWSTR f_pszName,

 const LPCWSTR f_pszValue );

 

Adds an attribute data block to a previously opened provisional drawing reference (see MKI_RefOpen).

 

Parameters

Type

[__int32] Type of the attribute (see MKI_DB_ATTRIB_*).

Name

[const LPCWSTR] This text contains the name of the attribute.

Value

[const LPCWSTR] This text contains the current value of the attribute.

 

Return Value

Returns true if the data block was added successfully. If false is returned, this indicates that the drawing reference would be too large after adding this data block.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH