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.
Onshape Glassworks API
Gage_Hartley
Member Posts: 2 ✭
Hello,
My name is Gage I am looking for help with a project I am working on. I am trying to essantially search my assembly for all sheet metal parts, check those sheet metal parts size and then export those sheet metal parts as DXFs. The problem I am running into is that I can do that in a part studio but once I try to do that in an assembly it seems to fall apart. I have been able to do all of this into the part studio "following the elements down" but my part studio and my assembly have different configurations and I need the one from the assembly. My work around that I have been trying to use is to pull the assembly configuration with a GET/element/d/{did}/{wvm}/{wvmid}/e/{eid}/configuration. and then pass it to the part studio using a POST, then pull all info needed once the part studio configuration matches the assembly configuration. The problem is that when i run the GET request labeled above the JSON shows me the mins/maxs & defaults of all of my configurations but the place where it is supposed to say the current configuration it says "currentConfiguration" :[]; seemingly empty. Would love some help with this or pointers of how to get this to work. Also good to know that I have to work completely in bash as far as putting together code goes due to limitations of the servers that the company I work for uses.