In addition to the command parameters and the properties, the COM-API of EPLAN 21 includes all constants which are also provided by C-API. Due to their large number parameters and properties are not supported. Instead of this, the corresponding numerical value is used in the API.
For technical reasons the constants in the COM-API had to be named differently than in the C-API. The EPL_ prefix was thus left out similar to the functions of the Generic interface.
Type | Prefix in the COM-API | Prefix in the C-API |
---|---|---|
Iterators: | ITERTYPE_* | EPL_ITERTYPE_* |
Error codes: | ERR_* | EPL_ERR_* |
Instance types: | INSTTYPE_* | EPL_INSTTYPE_* |
Object types: | OBJECTTYPE_* | EPL_OBJECTTYPE_* |
Page types: | PAGETYPE_* | EPL_PAGETYPE_* |
Menus: | MENUTYPE_* | EPL_MENUTYPE_* |
Menu items: | MENUITEMTYPE_* | EPL_MENUITEMTYPE_* |
Properties: | PROPERTY_* | EPL_PROPERTY_* |
Parameters: | PARAM_* | EPL_PARAM_* |