Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
REST API
Discussion List
-
Configurations API endpoint
Hi All, I have a Partstudio that has several configurations (A, B, C, D, etc…). When I use the below endpoint. https://cad.onshape.com/api/v13/elements/d/{did}/w/{wid}/e/{eid}/configuration It gives me all the available configurations which I can use to construct my next API calls, however, it always defaults to…
-
API and Inspection Tables - Quality Control
Has anyone used API to export Inspection Tables to integrate on a secondary software (Dynamics per example) so that the production floor can make the measeurements and verifications required directly in Dynamics? Basically the ideia is to use the Inspection Table as input to Microsoft Dynamics to create the parametrization…
- How can I generate a line in 3D space and extrude a circle along it using the Onshape REST API?
-
API rollbackBarIndex functionality
Hi, I'm trying to output the feature tree from a part studio via python - specifically via onshape-client.client.Client.api_client.request(…) (here) With a standard request, I can output the appropriate response json via the link:…
-
Sheet metal flange using featurescript
Hi everyone! 😁 I'm working on creating a very basic flange on a square flat sheet metal part using FeatureScript. My goal is to eventually generate a 90° flange by selecting the edge of the sheet. I managed to achieve it by copy-pasting the entire code from the official standard library, but I’d like to know how to simply…
-
REST API - Exporting to STEP works, but exporting to OBJ does not
Hello there ! 😉 I'm trying to export my sheet metal part using the REST API, exporting it to a STEP file works fine using the following method : • Initiate the exporting procedure using /api/v6/assemblies/d/{}/w/{}/e/{}/translations and payload = { "allowFaultyParts": True, "angularTolerance": 0.001, "formatName": "STEP",…
-
What is the OAUTH authorization code lifetime ?
Hi,I am prototyping an app using the OnShape Rest API. The authorization code seems to expire shortly after it is issued, but what is its exact lifetime ?