|
Archicad 29 C++ API
|
Describes a parameter of a Library Part. More...
#include <APIdefs_LibraryParts.h>
Public Attributes | ||
| API_AddParID | typeID | |
The type of the additional parameter (ParT_Integer, ParT_Length, etc.) | ||
| short | index | |
| The index of the additional parameter inside the additional parameter list. | ||
| short | typeMod | |
| Type modifier; the variable is a simple instance or an array with the type typeID. | ||
| char | name [API_NameLen] | |
| The name of the parameter — should be ASCII only. | ||
| GS::uchar_t | uDescname [API_UAddParDescLen] | |
| The description of the parameter as a Unicode string. | ||
| GS::uchar_t | valueDescription [API_UAddParNumDescLen] | |
| The description of the value for simple numerical parameter types as a Unicode string. | ||
| Int32 | dim1 | |
| The first dimension of the array; in case of array modifier. | ||
| Int32 | dim2 | |
| The second dimension of the array; in case of array modifier. | ||
| unsigned short | flags | |
| Modifier flags. | ||
| GSHandle | arrayDescriptions | |
| Unicode description string values of an array parameter in UTF-16 encoding. Values are stored immediately after each other to conserve space. | ||
| union { | ||
| double real | ||
| Numeric parameter value. | ||
| GS::uchar_t uStr [API_UAddParStrLen] | ||
String parameter (ParT_CString) value (Unicode, UTF-16 encoded). | ||
| GSHandle array | ||
| Array parameter values. | ||
| } | value | |
| Contains numeric, string or array parameter values. | ||
Describes a parameter of a Library Part.
| unsigned short API_AddParType::flags |
Modifier flags.
| Value | Description |
|---|---|
| API_ParFlg_Child | This parameter is a child of the preceding title. |
| API_ParFlg_BoldName | Show the name of the parameter in bold. |
| API_ParFlg_Open | Show the child parameters of this parameter. |
| API_ParFlg_Disabled | Disable this parameter; mainly used for separator lines |
| API_ParFlg_Hidden | Hidden parameter; does not appear in the Settings dialogs. |
| API_ParFlg_SHidden | Hidden parameter from scripts. |