Skip to content

GET_WINDOW_STATE

GET_WINDOW_STATE returns the state of the model window with the passed modelid.

Syntax

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


# --> RESULT ecode:intValue state:strVal (max|min|normal)
CC "Modeling" GET_WINDOW_STATE [ model:idValue ] .


# --> RESULT ecode:intValue state:strVal (max|min|normal)

Parameters

  • modelid (idValue) -

Returns

  • ecode (intValue) - the return variable ecode is set to 0 if setting worked, to 1 if an error occured.
  • state (strValue) - Val

Details

If no modelid is passed, the current active model will be taken. The return value state contains "max", "min" or "normal".

Only 1 window can be maximized. The status of the other windows is normal or min.

See Also

Examples

asc
CC "Modeling" debug GET_WINDOW_STATE
CC "Modeling" debug GET_WINDOW_STATE

Shows the current model window state.

Versions and Changes

Available since ADOxx 1.3