Needs some expert help on this one. I’m compiling .ghpy using the method @piac described in his post. I’ve deleted irrelevant codes in the uploaded example but this def Write(...)
of mine is causing trouble. I’ve isolated it after deleting and recompile for various times.
The compiled component cannot be deleted once dropped onto canvas. If i save a .gh file with this component in it, next time it opens, it will give me a GH IO error dialog
it’s as if my
def Write(...)
method messed up how the component would be initiated in GH scope.Like GH loses reference to it immediately and I can’t even delete it from canvas. What did I code that is screwing things up?example.py (6.9 KB)