Skip to content

CUT_SELECTED ​

CUT_SELECTED cuts the selected objects in the model passed with modelid into the ADOxx internal clipboard.

Syntax ​

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


# --> RESULT ecode:intValue
CC "Modeling" CUT_SELECTED [ model:idValue ] .


# --> RESULT ecode:intValue

Parameters ​

  • modelid (idValue) -

Returns ​

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

Details ​

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

The return value ecode is set to 0 if the the command worked, to 1 if an error occured.

See Also ​

Examples ​

asc
CC "Modeling" SELECT_ALL
CC "Modeling" CUT_SELECTED
CC "Modeling" PASTE x:1cm y:15cm
CC "Modeling" SELECT_ALL
CC "Modeling" CUT_SELECTED
CC "Modeling" PASTE x:1cm y:15cm

Cuts and parstes all objects in the current active model.

Versions and Changes ​

Available since ADOxx 1.3