Rhino.UI.Panels.OpenPanel(Type type) not working in Rhino 8

Hi there,

In Rhino 7 I use this code to check if my plugin panel is visible and make it visible when running a command:

 if (!Rhino.UI.Panels.IsPanelVisible(typeof(PanelCgWpf), true))

but in Rhino 8 that doesn’t work, if it’s a bug could you please add it to the bug tracker.

Thank you and regards

1 Like

Hi @Harper,

Try using the override that requires a GUID.

If not, please provide a project sample that does not work for you.


– Dale

Hi Dale,

Thanks for you answer, I tried using the dockbar id where the panel is docked and it works, so problem solved.

Thank you again