sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Multiple file extensions in openpanel

    Scheduled Pinned Locked Moved Developers' Forum
    24 Posts 6 Posters 1.6k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Al HartA Offline
      Al Hart
      last edited by

      That's why I added the comment about the Wiki no longer being active - because a Wiki where we could help with the documentation would be a good idea.

      Also, now that Peter, Scott and others at SketchUp were starting to develop things using Web Dialogs and Ruby, I was hoping they would help to improve the language it self and the documentation.

      I'll pass this thread along to the person at Google who replied to the request to join the Wiki group, and maybe we can all come up with something which Google and some outside developers (by request and/or invitation) can help with.

      I liked the idea that you were updating the documentation.

      Al Hart

      http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
      IRender nXt from Render Plus

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        Being totally new here, I echo Todd's frustration with having 3 sources for the API. I have a hard time telling which of the 3 I'm actually in. All I know is that things are documented slightly differently in different palces and sometimes the wiki has the best syntax and usage info (which is what I normally need TONS of help with).

        Poor/multiple/unregulated/disorganized documentation has been a large frustration of mine with SU, and now that I'm looking at Ruby, its only gotten worse. I wish they would put more effort into making the info more complete and the process more transparent. I really would like to code in Ruby and I have some great ideas, and I'm getting there. But its very frustrating feeling like my #1 hinderance to learning is the SketchUp API.

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • Al HartA Offline
          Al Hart
          last edited by

          @unknownuser said:

          Thanks Jim. I have updated the Ruby Wiki Doc. http://groups.google.com/group/SketchUp-Plugins-Dev/web/Ruby-UI.html?hl=en

          Todd

          Is this Wiki being kept up to date.

          I tried to join it and got this response:

          @unknownuser said:

          %(#BFFFFF)[This is a group that never really went anywhere, so we aren't actually using it.

          Thanks for checking, however!]

          **Added later:**After the initial posting of this post, Mark apologized that 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.

          Al Hart

          http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
          IRender nXt from Render Plus

          1 Reply Last reply Reply Quote 0
          • Al HartA Offline
            Al Hart
            last edited by

            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.

            Al Hart

            http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
            IRender nXt from Render Plus

            1 Reply Last reply Reply Quote 0
            • Al HartA Offline
              Al Hart
              last edited by

              @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. 😢

              Al Hart

              http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
              IRender nXt from Render Plus

              1 Reply Last reply Reply Quote 0
              • T Offline
                todd burch
                last edited by

                Yes, it's a 3-way mess.

                1 Reply Last reply Reply Quote 0
                • Tyler MillerT Offline
                  Tyler Miller
                  last edited by

                  Hey guys -

                  We hear you loud and clear about the documentation mess. We're working hard to resolve it.

                  -Tyler

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    todd burch
                    last edited by

                    Thanks Tyler.

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      @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! 👍 👍

                      Thomas Thomassen — SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • Chris FullmerC Offline
                        Chris Fullmer
                        last edited by

                        Agreed! I'm excited!

                        Chris

                        Lately you've been tan, suspicious for the winter.
                        All my Plugins I've written

                        1 Reply Last reply Reply Quote 0
                        • Tyler MillerT Offline
                          Tyler Miller
                          last edited by

                          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

                          1 Reply Last reply Reply Quote 0
                          • thomthomT Offline
                            thomthom
                            last edited by

                            @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***

                            Thomas Thomassen — SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            1 Reply Last reply Reply Quote 0
                            • Al HartA Offline
                              Al Hart
                              last edited by

                              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.

                              Al Hart

                              http:wiki.renderplus.comimageseefRender_plus_colored30x30%29.PNG
                              IRender nXt from Render Plus

                              1 Reply Last reply Reply Quote 0
                              • 1
                              • 2
                              • 2 / 2
                              • First post
                                Last post
                              Buy SketchPlus
                              Buy SUbD
                              Buy WrapR
                              Buy eBook
                              Buy Modelur
                              Buy Vertex Tools
                              Buy SketchCuisine
                              Buy FormFonts

                              Advertisement