Multi Level Toolbar

Multi Level Toolbar

dozerdroid
Enthusiast Enthusiast
629 Views
3 Replies
Message 1 of 4

Multi Level Toolbar

dozerdroid
Enthusiast
Enthusiast

Hello,  I have been creating multiple plugins with a standard button created as per the snippet below which is working fine.

 

  # Create a command definition and add a SeaWolf button to the CREATE panel, creates tool tip definition and defines resource file location.
        cmdDef = g_ui.commandDefinitions.addButtonDefinition('adskSeaWolfFileCreatorPythonAddIn''SeaWolf File Creator''Creates a hull point file''Resources/SeaWolf File Creator')
        createPanel = g_ui.allToolbarPanels.itemById('SurfaceCreatePanel')
        hullButton = createPanel.controls.addCommand(cmdDef)

 

I think there is a way to create a pop out toolbar like below, in this case I would have a top level button present a selection of available options to use different plugins but I have not been able to make this work or find an example to reference.

 

dozerdroid_0-1626286082747.png

 

If you can point me to an example or other reference it would be appreciated, Dozer

 

 

 

 

 

 

 

0 Likes
Accepted solutions (1)
630 Views
3 Replies
Replies (3)
Message 2 of 4

kandennti
Mentor
Mentor
0 Likes
Message 3 of 4

dozerdroid
Enthusiast
Enthusiast
Accepted solution

Thank you I'll dig into this. Dozer

0 Likes
Message 4 of 4

dozerdroid
Enthusiast
Enthusiast

The Jerome Briot example is fantastic and answered several questions !  Dozer

0 Likes