September 04, 2010

Hatch Editing With Grips - 2010 & Later

Here is an AutoCAD® feature that has been around since the 2010 release, and now that I am using that in the office, I thought it worth a mention, given how easy it makes updating non-associative hatches - even those created in previous releases. Given the problems associative hatches can have when an external reference or an AEC object is part of the boundary (when opening the file, the hatch often tries to resolve itself before all of the bounding objects have been loaded and resolved), I had taken to drawing polyline boundaries on a non-plotting layer and making hatches associative to that, so that I could edit the boundary easily should the area of hatch need to be changed in the future. Having been on the 2004 release for quite some time for production work, I was not able to take advantage of the ability to generate a boundary of an existing, non-associative hatch and make the hatch associative to it. The new grip editing feature makes this additional step unecessary.

To demonstrate the grip editing feature, I have created a square, non-associative hatch (and deleted the original bounding polyline), and drawn another polyline, to which I will extend the hatch, using grip edits.
Selecting the hatch reveals a number of grips. The center grip allows you to move the entire hatch, and was present in releases previous to 2010. The Vertex and Edge grips are new in 2010 (and are also present in 2011). ACA users should be familiar with hovering the cursor over a grip to get a tooltip, possibly listing options, and that technique works here as well.Hovering over a square grip at the perimeter of the hatch (Vertex) reveals that selecting that grip will allow you to initially move the Vertex to a new location, and pressing the CTRL key will cycle to the Remove option, allowing you to delete the Vertex.Hovering over a rectangular Edge grip on a straight segment at the hatch perimeter shows that the intial action on selecting the grip will be to add a new Vertex, and that pressing the CTRL key will cycle to converting that Edge to an arc.Hovering over the rectangular grip of an arc Edge of a hatch indicates that the initial action is to stretch the arc and that you can use the CTRL key to cycle to add a new Vertex and then to convert the arc to a line.

ACA users that have used grip edits on AEC objects will have to remind themselves that the Edge grips can NOT be used to stretch a straight segement, as they can for AEC Polygons.

To make the square hatch fill the drawn polyline with grip editing, use the Move option to relocate the four existing Vertices to Vertices on the polyline.To fill in the remainder, select the Edge grip that is not on a segment of the polyline and use the Add Vertex mode to add a fifth......and sixth Vertex......filling the polyline.
You can, of course, accomplish this simple edit in one step, by selecting the original square hatch, right clicking, choosing Set Boundary from the context menu and then picking the polyline.But in a typical drawing, where you have a lot more linework and, perhaps, several adjoining hatches, and where the linework defining the hatch edges is not a single polyline, I have found grip editing of hatches to be a very useful feature, and one that has virtually eliminated the need to delete an existing hatch and then rehatch the area.

2 comments:

Spencer said...

I have been having a problem with this feature. Every time I move a grip autocad is creating a modified copy of the hatch over the top of itself. So if I move a vertex of a hatch pattern and delete it it would still be there because it is creating two of them. It seems to leave the original and make a copy with the new changes to it. I was wondering if you had run into this problem?
Thanks,
Spencer

David Koch said...

I have not experienced that problem. You could tell ACA to make a copy after making a grip hot by typing a "C" and then pressing ENTER or hitting the Space Bar, but I assume that you are not doing that.