MKI_ProfileWriteAttribute (Settings) New in Version 2021.0

www.CAD6.com

C++ Syntax

bool

MKI_ProfileWriteAttribute(

 const LPCWSTR f_pszValueName,

 MKI_CONST_ATTRIBUTE_ENTRY_REF f_rValue );

 

Writes an attribute to a previously opened key in the configuration file or a collection item.

 

Parameters

ValueName

[const LPCWSTR] Name of the value inside the plug-in's key, up to 63 characters. This value name must be unique throughout all values stored by the plug-in. Use a point as separator for nested value names and brackets for arrays (e.g. "UserData[5].Name").

Value

[MKI_CONST_ATTRIBUTE_ENTRY_REF] Address of the attribute to be stored.

 

Return Value

Returns true if successful, false if not.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH