Skip to content

SET_DRAWING_AREA_SIZE

SET_DRAWING_AREA_SIZE sets the drawing area size to w and h as measure values to the passed modelid.

Syntax

leo-grammar
CC "Modeling" SET_DRAWING_AREA_SIZE [ model:idValue ] w:measureValue h:measureValue .


# --> RESULT ecode:intValue
CC "Modeling" SET_DRAWING_AREA_SIZE [ model:idValue ] w:measureValue h:measureValue .


# --> RESULT ecode:intValue

Parameters

  • modelid (idValue) -
  • w (measureValue)
  • h (measureValue)

Returns

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

Details

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

See Also

Examples

asc
CC "Modeling" SET_DRAWING_AREA_SIZE w:20cm h:20cm
CC "Modeling" SET_DRAWING_AREA_SIZE w:20cm h:20cm

Sets the drawing area size to 20 x 20.

Versions and Changes

Available since ADOxx 1.3