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.
Get itemSource of Drawing
severin_schranz895
Member Posts: 19 ✭✭
Hi everybody,
is it possible to get the itemSource (did, wvm, wvmid and eid) of a drawing from the linked part's itemSource?
I'm currently trying to use the API to get a automized export tool for bigger assemblies, for this i would use the bom endpoint to get all the metadata of all parts of the assembly. From this json, the next step would be to get to the linked drawings and export these as PDFs. Is this possible, or is there a better way to tackle this?
All the best
is it possible to get the itemSource (did, wvm, wvmid and eid) of a drawing from the linked part's itemSource?
I'm currently trying to use the API to get a automized export tool for bigger assemblies, for this i would use the bom endpoint to get all the metadata of all parts of the assembly. From this json, the next step would be to get to the linked drawings and export these as PDFs. Is this possible, or is there a better way to tackle this?
All the best
0
Answers
Custom FeatureScript and Onshape Integrated Applications
For this I need to know the {did}, {wid} and {eid} of the drawing right? From the BOM export I only get this information from my parts. Going forward from this information I would like to find the according drawing of the parts and export them as PDFs.