Openpanel and savepanel

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:

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

I filed a bug report because of this:

Oh… that looks bad… :s

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

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

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

Done

2 Likes