Skip to content

PASTE ​

PASTE pastes all objects from the ADOxx internal clipboard into the specified model (modelid) at the coordinates x and y.

Syntax ​

leo-grammar
CC "Modeling" PASTE [ modelid:idValue ] x:measureValue y:measureValue .


# --> RESULT ecode:intValue pastedobjids:strValue pastedrelnids:strValue .

Parameters ​

  • modelid (idValue) -
  • x (measureValue)
  • y (measureValue)

Returns ​

  • ecode (intValue) - the return value ecode is set to 0 if pasting was successful, or to 1 if an error occured.
  • pastedobjids (strValue) - IDs of pasted objects and connectors.
  • pastedrelnids (strValue) - IDs of pasted connectors.

Details ​

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

See Also ​

Examples ​

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

Copies and pastes all objects in the currentlyactive model.

Versions and Changes ​

Available since ADOxx 1.3