AppendAttribute (class MKI_BLOCK_ENUM) New in Version 2021.0

www.CAD6.com

C++ Syntax

bool

MKI_BLOCK_ENUM::AppendAttribute(

 __int32 f_nType,

 const LPCWSTR f_pszName,

 const LPCWSTR f_pszValue,

 bool f_fStaticLength = false );

 

Appends a new data block of the given attribute block type (MKI_DB_ATTRIBUTE_*) to the current enumerator. The current offset determines the location where to start adding data blocks. If f_fStaticLength is true, the data block will be set to a static length, i.e. a negative m_nElemCount.

 

Return Value

Returns true if successful or false if the resulting entity would be invalid or too long.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH