Skip to content

SET_REPRESENTATION ​

SET_REPRESENTATION sets the representation (graphical or tabular) in wich a model is displayed in a model window.

Syntax ​

leo-grammar
CC "Modeling" SET_REPRESENTATION	[ modelid:idValue ] representation:Representation
									[ classid:idValue] .


Representation :	"graphical" | "tabular" .
leo-grammar
# --> RESULT ecode:intValue .

Parameters ​

  • modelid (idValue, optional) -
  • representation (enumValue) - Representation; one of: "graphical" | "tabular"
  • classid (idValue, optional) -

Returns ​

  • ecode (intValue) - Contains the error code or is 0 in case of success.

Details ​

If no modelid is specified, the currently active model is used. If representation is set to "tabular", the displayed table can be set via classid. A classid value of 0 means "overview mode", not specifying classid means "show the table which has been visible at last".

See Also ​

Examples ​

asc
CC "Modeling" SET_REPRESENTATION modelid:(modelid)
        representation:"tabular" classid:(classid)

Versions and Changes ​

Available since ADOxx 1.3