Skip to content

GET_VISIBLE_RELATIONS ​

Syntax ​

leo-grammar
CC "Modeling" GET_VISIBLE_RELATIONS [ modelid:idValue ] .


# --> RESULT ecode:intValue relationids:strValue

Parameters ​

  • modelid (idValue) -

Returns ​

  • ecode (intValue) - the return variable ecode is set to 0 if the the command succeeded, otherwise to 1.
  • relationids (strValue) -

Details ​

The model ID is specified with modelid. If no modelid is passed, the current active model will be taken.

The visible relation classes are returned as string of IDs as return variable relationids.

See Also ​

Examples ​

asc
CC "Modeling" debug GET_VISIBLE_RELATIONS

Shows all relationids in the current active model

Versions and Changes ​

Available since ADOxx 1.3