Thanks!
Hi @Robin3,
The current SDK is pretty limited and allows you to display a toolbar group, but is not robust enough to look for a group with a particular toolbar and show it.
I have included a sample test command which will toggle the visible state of the “Curve Drawing” toolbar.
protected override Result RunCommand(RhinoDoc doc, RunMode mode)
{
var file = RhinoApp.ToolbarFiles.FindByName("default", true);
var group = file?.GetGroup("Curve Drawing");
if (group != null)
group.Visible = !group.Visible;
return group == null
? Result.Failure
: Result.Success;
}
Hope this helps.
– Dale
Got it, great thanks Dale!
Use Panels.ClosePanel.
– Dale
1 Like
Great, Thanks Dale, have a nice weekend!


