Multiple file extensions in openpanel
- 
 Since my original posting of Mark's reply about the Wiki group, Mark has apologized. He was thinking of a different group: @unknownuser said: BTW, I see that I was quoted in the forum. If you wouldn't mind updating that to include 
 that I was wrong, that this wasn't the group I thought it was, I'd appreciate it. I don't
 want folks to be misled because I got confused.
- 
 @unknownuser said: Then, the next thing I see up at code.google.com was this web site: http://code.google.com/apis/sketchup/docs/developers_guide/index.html I looked at this ruby documentation source and was surprised to see that Sketchup.load was not even on it.  
- 
 Yes, it's a 3-way mess. 
- 
 Hey guys - We hear you loud and clear about the documentation mess. We're working hard to resolve it. -Tyler 
- 
 Thanks Tyler. 
- 
 @tyler miller said: Hey guys - We hear you loud and clear about the documentation mess. We're working hard to resolve it. -Tyler Ooooh! So good to hear this!    
- 
 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. 
Advertisement




 
                             
                             
                             
                             
                             
                             
                            