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.

Options

How to reference a new part to assembly features?

Auke_Smit_SILAuke_Smit_SIL Member Posts: 20 PRO
or: Is there a way to make a part studio from an assembly? or to edit an assembly as if it is a part?

Background: I need to design a housing around a PCB. The PCB design with all components I got from an Altium Designer export to a solidworks file. 
Altium does this "thing" where they put each part into an assembly, and all assemblies in 1 big assembly. When importing the file into onshape I get a top level assembly with a lot of assemblies of component parts, which I cannot edit directly.
How I work: I like to build my housing around the PCB and make some references to the holes and parts of the pcb. Which can be done easily with a part studio, but I am not sure how to do this inside a top level assembly.

  • Any ideas on how to make part references inside an assembly?
  • or on how to make a part studio out of a top level assembly, so I can continue my work inside this part? 

I will also check if I can use onshape with altium directly, but I could not find an app for that.

Thanks for the help.

Answers

  • Options
    Auke_Smit_SILAuke_Smit_SIL Member Posts: 20 PRO
    I found that I can manually get each part out of the assembly and put inside the top level assembly, 1 by 1. This is not ideal with a few 100 parts but it gets me somewhere. I will now figure out on how to merge the parts while maintaining there relative position. if that is possible..

    Also I found to edit in context, I think this will help in my case. But for the pcb it is not ideal, since each part in that top level assembly will be showed while editing. So I have to hide all parts except of the part I want to edit. I am still new to onshape, so I am not sure why this happens. seems like there is 1 big part studio somewhere with all parts on the same spot. would be nice to have the option to only edit that specific part instead of the whole part studio. or to have the parts inside the part studio in the same relative position as the assembly..
  • Options
    philip_thomasphilip_thomas Member, Moderator, Onshape Employees, Developers Posts: 1,381
    edited July 2017
    @auke_smit - It sounds like you are looking for 'Edit in Context'.

    Here are a couple of videos showing the workflow - 

    https://www.onshape.com/videos/design-in-context
    https://www.onshape.com/videos/designing-linkages-in-context

    For you i would say the steps would be;

    • Import the PCB (there is a nice free IDF importer in the app store)
    • From the assembly select 'Create new In-Context Part Studio'
    • Use Transform/Copy-in-place to create instances of the important parts (maybe the PCB and tallest component on each side)
    • Build the housing
    • Optionally re-insert into the assembly.

    This is a very brief overview - the training videos and live training classes are best way to master these advanced capabilities.



    Have fun! :) 


    Philip Thomas - Onshape
  • Options
    Auke_Smit_SILAuke_Smit_SIL Member Posts: 20 PRO
    Maybe I asked the question to quick. I found this helpful topic thread. https://forum.onshape.com/discussion/2655/inserting-derived-assembly-into-part-studio 

    I will try to flatten on import.
    The group function was also usefull
    Derived parts I have to still check,
    edit in context works, but updating is not automatic or quick. Would be nice if there is an option to update automatic for the quick and dirty design sessions.

    Would be nice to be able to make a part studio based on a assembly, with the relative position saved. It will make the workflow more flexible. 

  • Options
    Auke_Smit_SILAuke_Smit_SIL Member Posts: 20 PRO

    @auke_smit - It sounds like you are looking for 'Edit in Context'.

    Here are a couple of videos showing the workflow - 

    https://www.onshape.com/videos/design-in-context
    https://www.onshape.com/videos/designing-linkages-in-context

    For you i would say the steps would be;
    • Import the PCB (there is a nice free IDF importer in the app store)
    • From the assembly select 'Create new In-Context Part Studio'
    • Use Transform/Copy-in-place to create instances of the important parts (maybe the PCB and tallest component on each side)
    • Build the housing
    • Optionally re-insert into the assembly.

    Thanks for your comment, I just saw it. And I will definitely check out the videos. I found edit in context as well. --> can the updating go automatic?

    For me it helped to import as part studio (flatten) and than continue working on it. --> as said, it would be nice to be able to flatten later on.

    Do you know if I can organize my parts and surfaces inside the part studio? Now I have 214 parts and 767 surfaces... Excluding the parts for the housing which I want to be able to find when working with them.
    would be nice if I can put the pcb parts in a folder or "group" to be able to hide them as a group. and focus on the housing parts.

    for now I think to create a new part studio, add both to an assembly, and edit my parts through edit in context.
    Or maybe I will just export an stl and import the shape to have just 1 part.. :)


  • Options
    philip_thomasphilip_thomas Member, Moderator, Onshape Employees, Developers Posts: 1,381
    @auke_smit - While we ALMOST ALWAYS recommend AGAINST flattening imports (because it instances in the Part Studio), in the case of importing electrical layouts, i am willing to bend my own rule :)

    The other piece of functionality that is going to help you is the 'hide other parts' (its on the RMB menu) - this will hide all the PCB parts other than the part you were hovering over when you invoked the hide. When you want to see them again, RMB 'show all parts'. I think this will help you a lot :)
    Philip Thomas - Onshape
  • Options
    Auke_Smit_SILAuke_Smit_SIL Member Posts: 20 PRO
    @philip_thomas thanks for the reply!

    I am using flatten import now and this works great.But I think the normal import could be improved. Because flatten import would not be necessary if the part studio would show my parts the same way as the assembly or as if I had flattened my import (so with relative position to eachother intact). Then when I use edit in context all parts will keep their position and not make a mess. Because now with a normal import it adds an assembly, which shows everything correct, and 1 part studio with a big mess of parts (200+ components). 

    If that is not possible than it would be nice if onshape only shows the selected part when I use edit in context. (except for all parts inside the assembly which should still be semi visible of course). This way I do not have to select that component again to use "hide all other parts".

    So maybe this is not logical for other use cases, but definitely for imported stp files.
  • Options
    philip_thomasphilip_thomas Member, Moderator, Onshape Employees, Developers Posts: 1,381
    Auke, i am glad its working for you and we are always reading these forums for feedback on how things should work. :)
    Philip Thomas - Onshape
Sign In or Register to comment.