Multiple file extensions in openpanel
-
Agreed! I'm excited!
Chris
-
Hey scripters -
Our new Ruby API documentation site is up! Better docs, examples, tutorials, etc. Let us know what you think.
http://code.google.com/apis/sketchup/-Tyler
-
@tyler miller said:
Hey scripters -
Our new Ruby API documentation site is up! Better docs, examples, tutorials, etc. Let us know what you think.
http://code.google.com/apis/sketchup/-Tyler
Oooohh!

This ought to be a SCF announcement!
p.s. any chance of getting a compiled PDF? (yea I know, some people* keeps asking for more...
)**** me***
-
For the record, (and to return to the original posting in the thread, I type the sample for UI,openpanel from the documentation into the new SU 7 Ruby console
chosen_image = UI.openpanel "Open Image File", "c;\\", "Shapes.jpg"It works ok (but begs the question of why you would supply and existing path and file to UI.openpanel).
When I change it to use wildcards,
chosen_image = UI.openpanel "Open Image File", "c;\\", "*.jpg"It shows _.jpg as the file name (underscore instead of *) and does not filter for .JPG files.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better ๐
Register LoginAdvertisement