It is worth pointing out that a given enclosed area can only have one type of AutoCAD hatch pattern. The hatch pattern is activated using the ‘HATCH’ command, one of many AutoCAD commands. Still open for advices and suggestion for 3d loops and creating custom hatch from a given HatchPattern object. An AutoCAD hatch pattern is a type of standard hatch in AutoCAD characterized by the distribution of repeating designs that fill an enclosed area.I haven't find a way for the Editor.TraceBoundary() to work with 3d loops yet. Note that this method only works on 2d loops ( regions, closed polylines, lines, curves. , 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).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |