Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
If you can point me to an example or other reference it would be appreciated, Dozer
Solved! Go to Solution.