...
The xpxGetInstanceType function will return the instance type of the actual instance argument. The instance type is the instanceId of the entity_definition instance in the appropriate dictionary model defining the instance type. The actual model where the instance is located must be opened before this function can be performed successfully.
Arguments
...
Type | Name | Comment |
GENERIC | instance | comment |
GENERIC | instanceType |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> FUNCTION getInstanceType(instId : GENERIC) : GENERIC; LOCAL entityId : GENERIC; END_LOCAL; ON_ERROR_DO; xpxPrintf('\nError.'); xpxThrow; END_ON_ERROR_DO; xpxGetInstanceType(instId,entityId); xpxPrintf('\nInstance of type %s',entityId.name); RETURN(entityId); END_FUNCTION; |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|
...