Message 1 of 2
Add-in palette address broken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey, can you help me with using palette for displaying data from my api addon?
I get this
This site can’t be reachedThe webpage at file:///C:/%5CUsers/XXX/AppData/Roaming/Autodesk/Autodesk%20Fusion%20360/API/AddIns/Matsuura%20Sync%20addin%5Cpalette.html might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_URLI cant get it to be displayed correctly.
My code to perform with palette
My code to perform with palette
palettes = ui.palettes
palette = palettes.itemById('matsuuraInventoryPalette')
if not palette:
palette = palettes.add(
'matsuuraInventoryPalette',
'Matsuura Inventory',
'palette.html',
True, True, True, 300, 400
)
palette.dockingState = adsk.core.PaletteDockingStates.PaletteDockStateRight
palette.isVisible = True
palette.sendInfoToHTML('updateInventory', json.dumps(results))I did double check if my file name for palette template is correct. and it is. However I am at a loss what did i do wrong.