sketchucation logo sketchucation
    • 登入
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update

    Multiple file extensions in openpanel

    已排程 已置頂 已鎖定 已移動 Developers' Forum
    24 貼文 6 Posters 1.8k 瀏覽 6 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Chris FullmerC 離線
      Chris Fullmer
      最後由 編輯

      Agreed! I'm excited!

      Chris

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

      1 條回覆 最後回覆 回覆 引用 0
      • Tyler MillerT 離線
        Tyler Miller
        最後由 編輯

        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 條回覆 最後回覆 回覆 引用 0
        • thomthomT 離線
          thomthom
          最後由 編輯

          @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 條回覆 最後回覆 回覆 引用 0
          • Al HartA 離線
            Al Hart
            最後由 編輯

            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 條回覆 最後回覆 回覆 引用 0
            • 1
            • 2
            • 2 / 2
            • 第一個貼文
              最後的貼文
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement