Delete all entities inside a rectangle

How to delete all entities inside a rectangle

Issue: How to delete all entities inside a rectangle (CADNET-1351).

Tips: This requires getting all the entities, then finding a rectangle for them, then checking if the entity is in the rectangle you want and deleting it.

Example: