

Still open for advices and suggestion for 3d loops and creating custom hatch from a given HatchPattern object.I haven't find a way for the Editor.TraceBoundary() to work with 3d loops yet. If you enter -HATCH at the Command prompt, options are. If you prefer using the Hatch and Gradient dialog box, set the HPDLGMODE system variable to 1.

When the ribbon is off, the Hatch and Gradient dialog box is displayed. Find When the ribbon is active, the Hatch Creation contextual tab is displayed. If you open that document with Notepad, you will see a section at the end for custom hatch patterns to be added. Fills an enclosed area or selected objects with a hatch pattern, solid fill, or gradient fill. Note that this method only works on 2d loops ( regions, closed polylines, lines, curves. 01-31-2011 05:59 AM Hi wdprice3, PAT files are text-editable, so you can copy definition lines out of them and paste them into your current acad.pat file. , I can implement my logic to draw the lines of the grid. Then, create the region that needed to be hatched and access its RegionAreaProperty.Extends to get the bottom-left and top-right point of the rectangle that contains my newly created region. Using the Editor.TraceBoudary() method, I can retrieve the loops I needed with the outer most loop will be the last entry in the return DBObjectCollection (a Polyline object to be precise).
