Message 1 of 4
Fusion 360 crashes on filedialog.askopenfile() method call
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi guys!
I have some small issue while I'm try to use OpenFileDilog. Fusion crashes all the time when I try to select file in OpenFileDilog window.
I'm using TK lib. Method - filedialog.askopenfile()
My Python code looks like this:
...
root = Tk()
Button(root, text = 'Open', command = OpenFile)
...
def OpenFile():
fname = filedialog.askopenfile(filetypes=("JSON files", ".json"))
...
P.S. This code works fine outside Fusion enviroment.