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 can I chain-select edges from an in-context face?

joshtargojoshtargo Member Posts: 316 EDU

How can I chain-select edges from an in-context face?

qAdjacent only returns the vertices at either end of the user selected edge, but not the other edges that are adjacent to those vertices.

Answers

  • jelte_steur814jelte_steur814 Member Posts: 273 PRO

    hmm your question suggests the user selects an edge, of a face, and you want all edges adjacent to that face to be selected?

    but the edge could have multiple faces adjacent to it couldn't it?
    so wouldn't it make more sense to select the face (missing some context here on what you're trying to build).
    or qAdjacent with an EntityType.FACE to find the face,

    and then feed that face into a subsequent qAdjacent with and EntityType.EDGE?

    did you specify the entityType in your qAdjacent?
    (perhaps share your document publicly to get more detailed help)

  • Cory_MartyCory_Marty Member Posts: 13 PRO
    edited December 2024

    Onshape doesn't support selection sets in-context. Improvement request here;

  • EvanReeseEvanReese Member, Mentor Posts: 2,235 ✭✭✭✭✭

    Maybe you're looking for qTangentConnectedEdges()

    Evan Reese
Sign In or Register to comment.