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.

I am trying to be able to select a complete curve automatically

Axel_KollmenterAxel_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

Answers

  • Urs_Egger_REACTUrs_Egger_REACT Member Posts: 95 PRO

    Hi Axel,

    If the curves are tangent you could use advanced selections

  • Caden_ArmstrongCaden_Armstrong Member Posts: 181 PRO

    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

    www.smartbenchsoftware.com --- fs.place --- Renaissance
    Custom FeatureScript and Onshape Integrated Applications
Sign In or Register to comment.