Skip to content

GET_MODELGROUP_REFERENCES ​

GET_MODELGROUP_REFERENCES retrieves all modelgroup-references of the given modelgroup (mgroupid).

Syntax ​

leo-grammar
CC "Core" GET_MODELGROUP_REFERENCES mgroupid:intValue

#--> RESULT ecode:intValue refids:strValue .
CC "Core" GET_MODELGROUP_REFERENCES mgroupid:intValue

#--> RESULT ecode:intValue refids:strValue .

Parameters ​

  • mgroupid (intValue) - specifies the ID of the modelgroup

Returns ​

  • ecode (intValue) - Contains the error code or is 0 in case of success.
  • refids (strValue) - a space-separated list of IDs grouped into a string

Details ​

returns CLASS_NOT_EXISTING if the given modelgroup ID (mgroupid) is invalid.

See Also ​

Versions and Changes ​

Available since ADOxx 1.3