RetVal = object.AddHatch(PatternType, PatternName, Associativity [, HatchObjectType])
After the Hatch object has been created using the MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_addhatch.htm" target="_blank" >AddHatch method, add the outer loop using MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_appendouterloop.htm" target="_blank" >AppendOuterLoop. The outer loop must be closed and must be created before any inner loops can be added.
After the Hatch object has been created using the MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_addhatch.htm" target="_blank" >AddHatch method, add the outer loop. The outer loop must be closed and must be created before any inner loops can be added. After a valid outer loop has been created, add any inner loops, one at a time, using the MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_appendinnerloop.htm" target="_blank" >AppendInnerLoop method.
Once you have finished defining the boundaries for the hatch, use the MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_evaluate.htm" target="_blank" >Evaluate method to calculate the hatch lines or fill for the boundaries, then use the MSITStore:D:\Program%20Files\AutoCAD%202005\help\acadauto.chm::/idh_regen.htm" target="_blank" >Regen method to update the display of the hatch. |