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

Gerard
Gerard Member Posts: 21 PRO

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 Member 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 Member, Onshape Employees Posts: 991 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 Member Posts: 1,468 PRO

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

  • Gerard
    Gerard Member 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 Member Posts: 4,588 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 Member 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 Member, pcbaevp Posts: 2,906 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 Member 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 . . . πŸ˜‰

  • nick_papageorge_dayjob
    nick_papageorge_dayjob Member, csevp Posts: 1,264 PRO

    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 Member Posts: 21 PRO

    Hence my suggestion for improvement . . . 😊

  • MDesign
    MDesign Member Posts: 1,468 PRO

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