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). About the custom grid lines drawing and querying: I got some ideas from these:.Thus, I receive the result from the default values. About customize the predefined hatch pattern: It is possible to do that, however the properties of the hatch must be defined in a certain order to have actual effect, or else it will be ignored and use the default value instead.įor example: in my case, I defined the value of HatchStyle before PatternScale and PatternSpace while it should be the other way around.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |