FeatureStudio

Replace the standard library version of the imports in the Feature Studios of a workspace.

Rewrites the version of every onshape/std import selected by the includeVersions and excludeVersions filters, using the same filter syntax as the standard library version search. By default the modified Feature Studios are committed to the workspace; pass commit as false to leave them as uncommitted edits for a user to review and commit in the Onshape UI. replaceWith is checked for the right form but is not checked against the released standard library versions, so a version that does not exist will leave the rewritten imports unresolved.

post/featurestudios/d/{did}/w/{wid}/stdversionreplace

Request

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

Path parameters

didstring required

Document ID.

widstring required

Workspace ID.

Response

default response

Changes

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