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.

Add part to studio or assembly

joshua_foxworthjoshua_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?

Answers

  • D8_StarpacD8_Starpac Member Posts: 48 PRO
    You can just copy the part to clipboard and paste tab where the assembly file is located and then insert the part.
  • Jake_RosenfeldJake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,279
    @joshua_foxworth

    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?
    Jake Rosenfeld - Modeling Team
  • billy2billy2 Member, OS Professional, Mentor, Developers Posts: 1,232 PRO
    @joshua_foxworth

    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.


Sign In or Register to comment.