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.

Sketch: how to find, select and remove identical entities drawn on top of each other?

I have a sketch with duplicate entities drawn on top of each other. How to identify these so I can remove these?

Tagged:

Answers

  • Gerard
    Gerard Posts: 21 PRO

    I am familiar with the select other options, but I deal with sketched that have 100+ line entities, some are drawn 4 times on top. I like to quickly find all automatically, not having to select each one at the time. Does Onshape have an option for this. I believe I use to have this option in SolidWorks under sketch tools.

  • Matt_Shields
    Matt_Shields Posts: 983 PRO

    I can't think of a specific tool for this but sometimes the left-to-right rectangle selection can help. It will grab only items fully inside the selection box, not ones that overlap the box.

    lines.gif
  • MDesign
    MDesign Posts: 1,461 PRO

    Matts suggestion is best so long as the end points don't line up with other endpoints. 🀬🀣

  • Gerard
    Gerard Posts: 21 PRO

    Thanks, but that does not offer a solution. Unfortunately, I am talking about identical entities, with identical endpoints. And many of these.

  • S1mon
    S1mon Posts: 4,480 PRO

    @Gerard I assume these are imported sketches? You could process them in another tool. ARES Kudo (available as a paid add-in for Onshape) apparently has a command called DiscardDuplicates:
    https://kudo.graebert.com/help/additional/hlpid_edit_discardduplicates.htm

    (I've never used this command, and as a non-AutoCAD users, ARES makes me very cranky to try to use, but I could see depending on your needs, it might be well worth the cost/effort.)

    Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

  • Gerard
    Gerard Posts: 21 PRO

    Thanks all for your feedback. It has answered my question, Onshape does not offer a solution. It would be nice to see this feature added.

  • eric_pesty
    eric_pesty Posts: 2,849 PRO

    As a side note, if the entities are actually duplicates, Onshape doesn't really care as it should still be able to use the regions (for solid operations) or edges for surface/thin features.

    I guess I'm asking what workflow you need to remove the duplicates for…

  • Gerard
    Gerard Posts: 21 PRO

    Thanks Eric, I know, but the sketch is used as driving, configured sketch, so needs to be in perfect condition. I have manually cleaned it all up, I just found the issue to be a possible improvement in Onshape. A nice to have . . . πŸ˜‰

  • Nothing automatic.

    The rare times I've run into this, I select the line and press delete, then repeat, until there is no line on the screen. Then I press the undo button once to get the last line back. Repeat with the other duplicate lines.

  • Gerard
    Gerard Posts: 21 PRO

    Hence my suggestion for improvement . . . 😊

  • MDesign
    MDesign Posts: 1,461 PRO

    Make an Improvement Request. I'll vote for it. πŸ˜‰