Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

Configurations API endpoint

Ace_CaoileAce_Caoile Member Posts: 10 PRO

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 Configuration A, even though I got Configuration B loaded in my current workspace.

Is there a way to know which configuration is currently loaded in the workspace? Because I'm trying to avoid asking my user which configuration do they want to use in the app when it's already obvious that they want to load whatever configuration they got currently loaded on the workspace.

Thanks in advance

Comments

Sign In or Register to comment.