Make toolbar visible

Hello, could you please provide me some samples of how to make toolbar visable after open RUI files using c#?

Currently, I am using “ToolbarFile tb_file = tb_collection.Open(toolbarFilePath); Toolbar tb = tb_file.GetToolbar(0); Panels.OpenPanel(tb.Id);”, but it doesn’t work. The checkbox in toolbar setting would not be checked unless I check it manually.

Could anyone provide me some samples of how to make toolbar visable after open RUI files using c#?

Currently, I am using “ToolbarFile tb_file = tb_collection.Open(toolbarFilePath); Toolbar tb = tb_file.GetToolbar(0); Panels.OpenPanel(tb.Id);”, but it doesn’t work. The checkbox in toolbar setting would not be checked unless I check it manually.

This topic is similar:Toggle Toolbar visibility programmatically?.
However, they are using C++ SDK, I would like to use c#.

Hello,

Could I add my plugin toolbar to container’s standard toolbars using c# codes?

As far as I know, I could drag toolbar to the container’s standard toolbars manually in containers setting, as showing in the below picture.

Hi,
don’t use Panels, just set any of its group Visible property to true
tb_file.GetGroup(<idx or name>).Visible = true

Thanks a lot, it works.