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 URL: https://cad.onshape.com/api/v17
- URL: https://cad.onshape.com/api/v17/translations/d/{did}/w/{wid}
- Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token, scopes: OAuth2Read) 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.