Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Using Eto OpenFileDialog

$
0
0

Hi Dale

I have tried using Eto.Forms.OpenFileDialog like your code above but in Python instead, Unfortunately, when the file dialog pops up by using Forms.FilePicker that doesn’t have any filter option. How can I solve it, Thanks!
This is my code :
self.fd = forms.OpenFileDialog
filter = forms.FileFilter(“CSV file”,".csv")
self.fd.Filters.Add(filter)
self.filepath = forms.FilePicker()

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles