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.
Add part to studio or assembly
joshua_foxworth
Member, Developers Posts: 19 ✭
I have a partner platform where the user will be able to copy a part from one document to an assembly in another. I can't quite seem to figure out the correct process to do this through the APIs. Is this just adding a feature?
Tagged:
0
Answers
Do you want the assembly reference to be made to the original part (parametrically), or do you want to copy the part studio into another document and not have the new update with the old?
because you're accessing another document to a part, you have to change the 'w' in the address to a 'v' and get the version id.
you can not access work spaces in other documents in either the UI or the API.
The api calls work the same as 'w' or 'v', just get the correct version id for the part studio/part if calling from another document.