Problem solved; i use this
instead of
if self.bake == True:
doc.Objects.AddHatch(hatch[0])
doc.Views.Redraw()
Problem solved; i use this
instead of
if self.bake == True:
doc.Objects.AddHatch(hatch[0])
doc.Views.Redraw()