Skip to content

COPY_SELECTED

COPY_SELECTED copies the selected objects in the model passed with modelid into the ADOxx internal clipboard.

Syntax

CC "Modeling" COPY_SELECTED [ model:idValue ] .

leo-grammar
# --> RESULT ecode:intValue
# --> RESULT ecode:intValue

Parameters

  • modelid (idValue, optional) -

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" COPY_SELECTED
CC "Modeling" PASTE x:1cm y:15cm
CC "Modeling" SELECT_ALL
CC "Modeling" COPY_SELECTED
CC "Modeling" PASTE x:1cm y:15cm

Copies and parstes all objects in the current active model.

Versions and Changes

Available since ADOxx 1.3