When you say "panel" do you mean a Toolbar Panel and you want to add a button with an icon?
Or do you a Command Dialog or a Palette ?
If you want an icon in a Toolbar panel, you can look into commands\CommandDialog\entry.py in the code that gets generanted when you create a new command:
def start():
# Create a command Definition.
cmd_def = ui.commandDefinitions.addButtonDefinition(CMD_ID, CMD_NAME, CMD_Description, ICON_FOLDER)
You will have to save the image as PNG. See this info: https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-04eb6198-72cd-4430-a6a4-8d68a1105b8e
Thomas @ Axalea
My Add-ins (Windows)
⌨️ Toolbar & Shortcuts Editor: Assign any key (and some mouse buttons) as keyboard shortcut!
⤴️ Extra Shortcuts: Assign shortcut to Front, Home view, Look At, Activate Component and more!
⭐ My Logo: Put your logo in the Fusion window (for presentations and streaming)
Axalea Notes - Annotate your model with notes