GET_VIEW_MODE ​
GET_VIEW_MODE returns the current modename in the model passed with modelid.
Syntax ​
leo-grammar
CC "Modeling" GET_VIEW_MODE [ modelid:idValue ] .
# --> RESULT ecode:intValue modeltype:strValue modename:strValue
Parameters ​
modelid
(idValue) -
Returns ​
ecode
(intValue) - the return value ecode is set to 0 if the the command worked, to 1 if an error occured.modeltype
(strValue) -modename
(strValue) -
Details ​
If no modelid is passed, the current active model will be taken.
See Also ​
Examples ​
asc
CC "Modeling" debug GET_VIEW_MODE
Shows the current view mode in the current active model
Versions and Changes ​
Available since ADOxx 1.3