sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    SKM load with API ?

    Scheduled Pinned Locked Moved Plugins
    6 Posts 3 Posters 215 Views 3 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.
    • Didier BurD Offline
      Didier Bur
      last edited by

      Hi,
      Sorry if this has been discussed before but I didn't find anything on this: can a ruby script (or is there a method to) load a skm material, or a whole library of materials in the current model ? πŸ˜’
      Any help appreciated.

      DB

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

        Ain't no such thing. 😞

        Though I think TIG was hacking together something...

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

        1 Reply Last reply Reply Quote 0
        • Didier BurD Offline
          Didier Bur
          last edited by

          😞 😞 😞
          Thanks for the reply TT !

          DB

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            Find my SKMtools...
            these allows you to import and export SKM files, and lots more...
            To process a folder of SKM filess you find all of the SKM files and import each one in turn...
            Something like this [assuming you have a path to a 'folder']...
            Dir.entries(folder).each{|file| SKM.import(File.join(folder, file)) if File.extname(file).downcase==".skm" }

            TIG

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

              That was the name of it. I tired to search SKM, but the forum skips anything less than four characters long: http://forums.sketchucation.com/viewtopic.php?t=33305

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

              1 Reply Last reply Reply Quote 0
              • Didier BurD Offline
                Didier Bur
                last edited by

                Thanks TIG, I was sure you had the solution ! (but didn't remember your SKM Tools 😳 )

                DB

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

                Advertisement