MKI_VARIABLEDEF (Entity Data Classes) Changed in Version 2024.0

www.CAD6.com

C++ Syntax

class MKI_VARIABLEDEF

{

  public:

 

  MKI_VARIABLENAME m_szName;

  MKI_COMMENTLONG m_szComment;

  MKI_VARIABLEVALUE m_szValue;

};

 

This structure contains a variable definition.

 

Element Description

m_szName Changed in Version 2019.1

[MKI_VARIABLENAME] Name of the variable, up to 31 characters.

m_szComment Changed in Version 2024.0

[MKI_COMMENTLONG] Comment on the variable, up to 255 characters.

m_szValue Changed in Version 2019.1

[MKI_VARIABLEVALUE] Value of the variable, up to MKI_LENGTH_VARIABLE characters.

 

MKD Syntax

The section =VARIABLE= contains up to 1,000 global variables. Variables can be used in any text or dimension object by placing their names between ~ (Ansi 126) characters.

 

Head of Section

=VARIABLE=;

TotalNum;

 

Entry for each Variable Definition

Name,Value,Comment;

 

End of Section

=END=;

 

If the section =VARIABLE= does not exist, assume no variable to be defined (m_nTotalNum = 0).

 

Element Description

m_nTotalNum

[__int32] Number of variable definitions to follow. Valid range is 0 to MKI_VARIABLE_MAX inclusive.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH