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.
Translation to SOLIDWORKS: how to match partid to the "ONSHAPE_ORIGINALBODY_ID" field?
Dev_Loppement Member Posts: 1 ✭
I'm trying to minimize the stress on the API during a complex export in SOLIDWORKS by grouping multiple translations from the same PartStudio into one call with multiple partids. Problem: the resulting .sldprt contains one body per partid but I don't see any way to map a partid to its corresponding body. I guess the ONSHAPE_ORIGINALBODY_ID metadata field can help but I don't know how.
Example: I request a conversion to SOLIDWORKS for partids KFTD, KFHB and KFXB from a given PartStudio and retrieve a .sldprt with three bodies with ONSHAPE_ORIGINALBODY_ID values 177222, 88735 and 286415. Which is which?