Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Crashes when opening f2d files using palette

Message 1 of 1
98 Views, 0 Replies

Crashes when opening f2d files using palette

Hi there.


I am using Palette and want to open an f2d file from HTMLEvent, but I am having trouble with Fusion360 crashing.


The add-in for the attached file was created using the new add-in template.
Therefore, there are many files.
Please forgive the lack of completeness as I created it to reproduce the phenomenon.


When you start the add-in, two buttons are added to UTILITIES_ADD-INS.
The red one is created in a dialog and the blue one uses a palette.



Both commands are made to open the f3d file and the associated f2d file.
Both commands use "" to open the f2d file, so the process of opening the file itself is exactly the same.



Steps to reproduce.

  • Create an f3d file, create and save the body text.
  • Next, create and save an f2d file based on the f3d file.
  • Close the f2d file.

Execute the command in this state.

The commands in the dialog will open the f2d file without any problems, but the commands in the palette will always crash.
Also, although not done in this sample, f3d files can be opened with no problem using the palette.


I don't know what to do to fix this problem.
I cannot determine if this is a bug or not.





Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th

Autodesk Design & Make Report