Hatch list in Ghpython

Problem solved; i use this
image

instead of

if self.bake == True:
    doc.Objects.AddHatch(hatch[0])
    doc.Views.Redraw()