How to turn off "Old Python" banner on Iron Python 2 components

Hi @James_Parrott ,

In Rhino 8 you can use ghenv.Component.ToggleObsolete(False) to remove that banner:

I believe that method does not exist before Rhino8 though, so might need to provide error handling if the components get used in older versions as well.

all the best,
@ed.p.may