Skip to content

GET_VISIBLE_CLASSES

GET_VISIBLE_CLASSES returns all classes which are currently visible in a model.

Syntax

leo-grammar
CC "Modeling" GET_VISIBLE_CLASSES [ model:idValue ] .


# --> RESULT ecode:intValue classids:strValue
CC "Modeling" GET_VISIBLE_CLASSES [ model:idValue ] .


# --> RESULT ecode:intValue classids:strValue

Parameters

  • modelid (idValue) -, the model ID is specified with modelid.

Returns

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

Details

If no modelid is passed, the current active model will be taken.

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

See Also

Examples

asc
CC "Modeling" debug GET_VISIBLE_CLASSES
CC "Modeling" debug GET_VISIBLE_CLASSES

Shows all classes in the current active model

Versions and Changes

Available since ADOxx 1.3