Openpanel and savepanel


#1

Is it possible to set both a default filename as well as set the list of extensions in openpanel and savepanel?

The 3D Export dialog sets both the filename, andd provides a list of types:


#2

Hmm… might we have a flaw in the API here… I’d have to dig into how the parsing of the string is done.


#3

I filed a bug report because of this:


#4

Oh… that looks bad… :s


#5

Being able to provide default name and file filter is impossible due to the current implementation. But that text mangling is odd and not expected! :s


#6

Was this filed as FR somewhere? (default name + ext filter)


#7

Hm… not sure…
Mind filing one to be sure? https://github.com/SketchUp/api-issue-tracker/issues


#8

Done