Element

Copy an element from a source document.

Specify the target document and workspace in the URL. Specify the source document, workspace, and element in the request body. If anchorElementId is specified, the copied element will be inserted after the anchor element. If not specified, the copied element will be inserted at the end of the tab list.

post/elements/copyelement/{did}/workspace/{wid}

Request

  • Base URL: https://cad.onshape.com/api/v17
  • URL: https://cad.onshape.com/api/v17/elements/copyelement/{did}/workspace/{wid}
  • Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token, scopes: OAuth2Write) and HTTP basic

Path parameters

didstring required
widstring required

Response

default response

Changes

No recorded changes to this operation across all 1 revision of this API.