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.

"None of the selected entities could be deleted"

daniel_s_wolfdaniel_s_wolf Member Posts: 7 ✭✭
edited May 2018 in Community Support
In Onshape, I find it very easy and pleasant to create sketches. For me, the fun stops when I have to make modifications to an existing sketch. Whenever I try to delete entities within a non-trivial sketch, I get an error message stating that "None of the selected entities could be deleted."

This seems to happen whenever any entity I'm trying to delete is connected to the rest of the sketch via a constraint. Since a typical sketch contains *lots* of constraints, it often takes me several minutes to find the constraint(s) I need to delete in order to be able to delete the actual entities. By this time, I usually deleted some required stuff along the way and end up with a broken sketch.

Is there something I'm missing? Is there a simple way to delete parts of an existing sketch?

Edit

It seems that I've been doing it wrong. Let's say I sketch a rectangle. To delete this rectangle, I expected I could simply click within it (selecting the face), then press Delete. I thought that would delete its constituent lines. But that doesn't work. What I have to do instead is select all four lines by drag-selecting, then press Delete.

Is there a shortcut to select exactly the lines that make up a face? Doing a drag-select will often select other, adjacent entities that I don't want to delete.
Tagged:

Best Answer

Answers

  • john_mcclaryjohn_mcclary Member, Developers Posts: 3,935 PRO
    edited May 2018
    Can you link an example?

    I have never experienced this before. Selecting an entity and pressing delete doesn't care what constraints are attached. They usually get deleted as well automatically.

    Is the sketch derived from another studio? Is the sketch imported from a DXF?
    You say non-trivial, there may be a hint that your sketch may be too involved. It is good practice to break sketches down into smaller parts. I know that is not what you want to hear, but it is the only advice we can give without real examples.
  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    Yeah, I agree there is something odd going on with this behaviour, I've never had to remove a constraint to be able to delete geometry before.  Hopefully it's an easy fix.

    Owen S.
    Business Systems and Configuration Controller
    HWM-Water Ltd
  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    Edit

    It seems that I've been doing it wrong. Let's say I sketch a rectangle. To delete this rectangle, I expected I could simply click within it (selecting the face), then press Delete. I thought that would delete its constituent lines. But that doesn't work. What I have to do instead is select all four lines by drag-selecting, then press Delete.

    Is there a shortcut to select exactly the lines that make up a face? Doing a drag-select will often select other, adjacent entities that I don't want to delete.
    Yeah, that rectangle ceases to be a rectangle as soon as it's created.  It immediately becomes 4 lines each with horizontal or vertical constraints, coincident constraints and dimensions if you set them.

    I think there was an IR for some sort of smart tool to enable the selection of perimeter geometry by clicking on a region.

    O.S.
    Business Systems and Configuration Controller
    HWM-Water Ltd
  • billy2billy2 Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
    @daniel_s_wolf have you tried windowing around the rectangle to select it?

    Remember left to right windowing is inclusive and right to left is intersecting.

    Seems like windowing should work.

    Also, this is a pro/e thing, simple sketches and more features tends to create more robust designs. Now this will be controversial, but I think it's still true. In pro/e we'd recommend no more than 10 sketch entities.


  • Brad_GoodmanBrad_Goodman Member Posts: 38 ✭✭
    I have found this happen a few times where I cannot delete some weird face inside a sketch. In the times I have seen this - it is because I have chosen the face of some object as my sketch pane - and (for some odd reason) - this face becomes an undeletable face within my sketch.

    The solution is to create a NEW sketch pane (use the desired face as basis - with an offset of zero) and re-parent your sketch to this.

    This ONLY happens when you use a face of another body as the pane for your sketch - instead of an actual "plane".
  • owen_sparksowen_sparks Member, Developers Posts: 2,660 PRO
    Hi folks.
    At the risk of sounding like a **** sketches in Onshape don't have faces. (Just entities such as lines splines vertices etc.) These entities may form "regions" that will then be rendered in grey to show that they are fully enclosed. One can't delete these regions, so to remove them requires deleting the entities that form the region.
    I've not seen any bugs that prevent the deletion of sketch entitties so wonder if something else is a play here?
    Oh and merry new year too.
    Owen.
    Business Systems and Configuration Controller
    HWM-Water Ltd
  • john_mcclaryjohn_mcclary Member, Developers Posts: 3,935 PRO
    edited January 2020
    @Brad_Goodman that is a 'feature' which lets you infer geometry from the selected face. To bypass that, you have 2 options.

    1) create a new plane
    2) use the mate connector in the sketch face selection to make an 'plane' without adding a plane feature on the tree.


Sign In or Register to comment.