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.

In context part depending on configuration variables not updated when in subassembly

james_aguilar160james_aguilar160 Member Posts: 46
I made one part (SwitchModel) and then another part that depends on that part (CaseInterface). In this assembly:

https://cad.onshape.com/documents/0dc6a9945503811656111f8b/w/345fab4eb1983e70465523f2/e/db8f5d4ae6d08364413ac12d?configuration=List_Hr5skqnnIGqQAd=SwitchLite&renderMode=0&rightPanel=configPanel&uiState=6680c4a9c52aac4be03efe78

I would like it if, when I change the configuration of the assembly, the case interface automatically updates its referenced context to reflect the new configuration as well. But I can't seem to figure out how to do that.

In case anyone is like, "why in the heck would you want to do that?" This further assembly contains a view of my final product:

https://cad.onshape.com/documents/0dc6a9945503811656111f8b/w/345fab4eb1983e70465523f2/e/2cc5be61bcc101409fc701be?configuration=default&renderMode=0&uiState=6680c56fc52aac4be03f00cf

What I would like is to be able to place the two instances of CaseAndMateInterface together (one for each configuration), and then reference their features when editing SwitchHolder in context. What is the best way to accomplish this?

Comments

  • james_aguilar160james_aguilar160 Member Posts: 46
    Answering my own questions maybe again. As far as I can tell from looking around, it is not possible to automatically update the context references of a part studio created in context.

    However, if you use Insert Derived, you can change the configuration of the derived part in response to configuration changes of the part studio.

     
  • S1monS1mon Member Posts: 2,982 PRO
    Derived seems like a better way to handle this situation. You also had some issues with your assemblies floating around. If you do use in context, I would be careful to make sure that your parts are constrained better. Typically I like to add an assembly mate connector at the origin, and create mate connectors at the origin of my parts. Then I mate those MCs to the assembly origin. This is more for consumer product design where there isn't an obvious stable corner or hole or something to use as a reference.

    This tech tip may be helpful:
    https://www.youtube.com/watch?v=Vv_ds6QktS8

  • james_aguilar160james_aguilar160 Member Posts: 46
    Thanks. I did try using a derived part and it works great!
Sign In or Register to comment.