Panel with GhPython: Problem


The script don’t attach the panel to the output and when i plug it no data appears, How these problem solved?

panel (6.8 KB)

Problem solved, i use


1 Like

How to remove path index and resize the panel ?


Solved using:

panel.Attributes.Bounds = System.Drawing.RectangleF(0,0,x,y)
panel.Properties.DrawPaths = False

The script create a new panel and attached it to the output, when i modify the bounds the process repeated again and again
How to keep the first panel? or how to remove it and block the creation of new panel when edit the bounds (x,y)?

panel (6.4 KB)

Problem solved by add all panels to a list and keep the first one (index 0) than modify its attributes