Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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?
joshtargo
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.
0
Answers
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)
Onshape doesn't support selection sets in-context. Improvement request here;
Maybe you're looking for qTangentConnectedEdges()