Skip to content

GET_REPRESENTATION ​

GET_REPRESENTATION returns the representation mode (graphical or tabular) in wich a model is currently displayed in a model window.

Syntax ​

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


# --> RESULT ecode:intValue representation:Representation[ classid:idValue] .
Representation : "graphical" | "tabular" .

Parameters ​

  • modelid (idValue) -

Returns ​

  • ecode (intValue) - Contains the error code or is 0 in case of success.
  • representation (enumValue) - Representation; One of: "graphical" | "tabular"
  • classid (idValue) -

Details ​

If no modelid is specified, the currently active model is used.

If representation is "tabular", classid is the ID of the active classs. A classid value of 0 in tabular representation means "overview representation".

See Also ​

Examples ​

asc
CC "Modeling" GET_REPRESENTATION modelid:(modelid)

Versions and Changes ​

Available since ADOxx 1.3