# Openpanel and savepanel

**URL:** <https://forums.sketchup.com/t/openpanel-and-savepanel/5489>\
**Category:** Ruby API\
**Created:** [January 4, 2015, 2:31pm UTC](https://forums.sketchup.com/t/openpanel-and-savepanel/5489 "2015-01-04T14:31:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jim\_foltz](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/jim_foltz/32/74787_2.png) [@jim\_foltz](https://forums.sketchup.com/u/jim_foltz)\
**Post date:** [January 4, 2015, 2:31pm UTC](https://forums.sketchup.com/t/openpanel-and-savepanel/5489/1 "2015-01-04T14:31:23Z")

</div>

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:

---

<div class="post-metadata">

**Author:** ![thomthom](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/thomthom/32/12606_2.png) [@thomthom](https://forums.sketchup.com/u/thomthom)\
**Post date:** [January 5, 2015, 8:02am UTC](https://forums.sketchup.com/t/openpanel-and-savepanel/5489/2 "2015-01-05T08:02:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jim\_foltz](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/jim_foltz/32/74787_2.png) [@jim\_foltz](https://forums.sketchup.com/u/jim_foltz)\
**Post date:** [January 5, 2015, 8:26am UTC](https://forums.sketchup.com/t/openpanel-and-savepanel/5489/3 "2015-01-05T08:26:20Z")

</div>

I filed a bug report because of this:

---

<div class="post-metadata">

**Author:** ![thomthom](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/thomthom/32/12606_2.png) [@thomthom](https://forums.sketchup.com/u/thomthom)\
**Post date:** [January 5, 2015, 9:08am UTC](https://forums.sketchup.com/t/openpanel-and-savepanel/5489/4 "2015-01-05T09:08:35Z")

</div>

Oh… that looks bad… :s

---

<div class="post-metadata">

**Author:** ![tt\_su](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/tt_su/32/17_2.png) [@tt\_su](https://forums.sketchup.com/u/tt_su)\
**Post date:** [January 5, 2015, 9:47am UTC](https://forums.sketchup.com/t/openpanel-and-savepanel/5489/5 "2015-01-05T09:47:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jiminybillybob](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/jiminybillybob/32/197139_2.png) [@jiminybillybob](https://forums.sketchup.com/u/jiminybillybob)\
**Post date:** [March 20, 2018, 11:24am UTC](https://forums.sketchup.com/t/openpanel-and-savepanel/5489/6 "2018-03-20T11:24:44Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tt\_su](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/tt_su/32/17_2.png) [@tt\_su](https://forums.sketchup.com/u/tt_su)\
**Post date:** [April 4, 2018, 1:12pm UTC](https://forums.sketchup.com/t/openpanel-and-savepanel/5489/7 "2018-04-04T13:12:01Z")

</div>

Hm… not sure…  
Mind filing one to be sure? [Issues · SketchUp/api-issue-tracker · GitHub](https://github.com/SketchUp/api-issue-tracker/issues)

---

<div class="post-metadata">

**Author:** ![jiminybillybob](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/jiminybillybob/32/197139_2.png) [@jiminybillybob](https://forums.sketchup.com/u/jiminybillybob)\
**Post date:** [April 5, 2018, 9:25am UTC](https://forums.sketchup.com/t/openpanel-and-savepanel/5489/8 "2018-04-05T09:25:00Z")

</div>

[Done](https://github.com/SketchUp/api-issue-tracker/issues/78)
