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.

How do I select an adjoining part in FS

CAD_SSPCAD_SSP Member Posts: 45 ✭✭
I have a part studio with multiple parts, I want to be able to select 2 faces on one part and then also work on the part that adjoins it as below:



The mock up is available at https://cad.onshape.com/documents/1d8686fa8d2943b37843e397/w/4b929d003a5a139e2f77286e/e/e0979796b001bdae18a9981c

I can easily get all parts by using: 
        var selectionpart = qOwnerBody(definition.vertFace);
        var everythingelse = qSubtraction(qBodyType(qEverything(EntityType.BODY), BodyType.SOLID), selectionpart);

But how can I select just the part illustrated above, it has a face adjoining the other part but non of the queries I have tried (which I think is most) appear to allow me to select that part.

I am probably missing something really obvious but really appreciate any help.

Best Answer

  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,305
    Answer ✓
    You could also take a look at my mortise & tenon joint feature at onshape.com/featurescript
    Senior Director, Technical Services, EMEAI

Answers

Sign In or Register to comment.