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

How to add a filter to an Eto.Form.SaveFileDialog()

$
0
0

I’m running into an issue when trying to add a Filter to an Eto.Form.SaveFileDialog()

with the code below I don’t get the filter applied to the dialog box

import Eto.Forms as forms
import Rhino.UI as ui
import System

filterIGES = forms.FileFilter("IGES File",".igs")

EtoDialogSave = forms.SaveFileDialog()
EtoDialogSave.CurrentFilter = filterIGES

EtoDialogSave.ShowDialog(ui.RhinoEtoApp.MainWindow)

what am I missing?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles