Skip to content

GET_ZOOM_FACTOR ​

GET_ZOOM_FACTOR returns thecurrent zoom factor of the given model passed with modelid as a percentage value.

Syntax ​

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


-->	RESULT ecode:intValue zf:intValue

Parameters ​

  • modelid (idValue) -

Returns ​

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

Details ​

If no modelid is passed, the current active model will be taken.

See Also ​

Examples ​

asc
SEND "GET_ACTIVE_MODEL" to:"Modeling" answer:modelid

CC "Modeling" debug GET_ZOOM_FACTOR modelid:(VAL modelid)

Versions and Changes ​

Available since ADOxx 1.3