MKI_ProfileWriteVariable (Settings) New in Version 2023.2

www.CAD6.com

C++ Syntax

bool

MKI_ProfileWriteVariable(

 const LPCWSTR f_pszValueName,

 MKI_CONST_VARIABLEDEF_REF f_rValue );

 

Writes a variable definition 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_VARIABLEDEF_REF] Address of the variable definition to be stored.

 

Return Value

Returns true if successful, false if not.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH