GET_REPRESENTATION

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

Syntax

CC "Modeling" GET_REPRESENTATION [ modelid:id ] .
# --> RESULT ecode:intValue representation:Representation[ classid:id ] .
Representation : "graphical" | "tabular" .

Parameters

modelidid

Returns

ecodeintValue, Contains the error code or is 0 in case of success.
representationRepresentation
classidid

Remarks

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

Example 1

CC "Modeling" GET_REPRESENTATION modelid:(modelid)