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.
I am trying to be able to select a complete curve automatically
Axel_Kollmenter
Member Posts: 415 PRO
I am currently in the process of adapting a feature script so that it is perfectly adapted to our requirements. Similar to the sweep feature. How can I implement it so that I simply select the created curve, or I select a part of the spline and all tangential edges are automatically selected?
Currently I have to select each edge of the curve individually, which is quite time-consuming
Best regards,
Axel Kollmenter
Axel Kollmenter
Tagged:
0
Answers
Hi Axel,
If the curves are tangent you could use advanced selections
If you want to do it within the featurescript, you can do:
qTangentConnectedEdges(seed)
If the wirebody doesn't have exclusively tangent connected edges, and you just want all of the edges of a wirebody
qOwnedByBody(qOwnerBody(seed), EntityType.EDGE)
Will get all the edges owned by the body that owns the input edge
Custom FeatureScript and Onshape Integrated Applications