...
Info |
---|
The xpxGetEntityExtent and xpxGetEntityExtentBN functions return the aggregateID of the attribute named instances in the related entity extent instance. The xpfGetExtent and xpfGetExtentBN functions return the instanceID of the related entity extent instance. |
Arguments
...
Type | Name | Comment |
GENERIC | modelId | comments |
STRING | entityName |
Return Value
...
Type | Name | Comment |
GENERIC | entityExtentId | comments |
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
<Missing Example> FUNCTION getEntityExtent(modelId : GENERIC ; entityName : STRING) : GENERIC; LOCAL extentId : GENERIC; members : INTEGER; END_LOCAL; ON_ERROR_DO; xpxPrintf('\nError.'); xpxThrow; END_ON_ERROR_DO; extentId := xpfGetEntityExtentBN(modelId,entityName); members := xpfGetMemberCount(extentId); xpxPrintf('\n%d Members of type %s in model.',members,entityName); RETURN(extentId); END_FUNCTION; |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|
...