Bug in ExplodeHatch


#1

Hi There is a bug in rs.ExplodeHatch(id,True)

Message: Delete() takes exactly 2 arguments (1 given)


#2

Yeah, looks like there is an error on line 125 in hatch.py.

if delete: scriptcontext.doc.Objects.Delete(rhobj)

should be

if delete: scriptcontext.doc.Objects.Delete(rhobj,True)

–Mitch


#3

Impressive, didn’t think of looking in the files.

I also ran into another bug in hatch, don’t know how to explain it other than I can not explode a hatch in one script, but I can in an other. I’ll see if I can make a simple demo script that causes the behavior.