Translation
Import or upload a CAD file into Onshape, and translate the data into parts or assemblies.
The API call may complete before the translation is finished. If requestState = ACTIVE, the translation can be polled until the state is either DONE or FAILED. Alternatively, a webhook callback can be registered for notification of translation completion (requires Write scope if storeInDocument is true).
See API Guide: Import & Export for examples.
post/translations/d/{did}/w/{wid}
Request
- Base URLhttps://api.onshape.com/api/v17
- URLhttps://api.onshape.com/api/v17/translations/d/{did}/w/{wid}
- AuthOAuth 2 and HTTP basicAuthorization code: /oauth/authorizeToken URL: /oauth/token scopes: OAuth2Read
Path parameters
didstring required
widstring required
Request body multipart/form-data
Response
default response
Changes
No recorded changes to this operation across all 12 revisions of this API.