Sample Palette does not render

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I am trying to get the sample palette example working. I get a similar error to that in this thread:
In my case, the HTML does not render at all. If I put "http://www.google.com" as the file name it works (in that it renders). But I can't seem to find any combination of things that will get it to render the example html file. I can put in "monkey.html" and Fusion does not complain. That makes me think it is not finding my file. It's in the same location as the Python file. I've tried relative paths ("./palette.html"), absolute path, "file://..." etc.
Oh, wait, I got it. I'm on a Mac. The location of the file was /Users/daryl/Library/Application Support/Autodesk/Autodesk Fusion 360/API/AddIns/PaletteTest/palette.html. If I move the file to /Users/daryl/palette.html and reference it from Python with an absolute path, it works. Perhaps this is due to the spaces in the path? What is the recommendation here? How should I organize and deploy/install my Add-in?
Thanks.