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

    [Plugin] Save as Sketchup 8 (v1.0) PC

    Scheduled Pinned Locked Moved Plugins
    9 Posts 2 Posters 508 Views 2 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.
    • CadFatherC Offline
      CadFather
      last edited by CadFather

      OK, thanks to Jim and TIG, here's a script for saving your file as Sketchup 8.

      first version - i modified the script (the master of coding) - so that you have 3 options.

      until the Trimble guys decide to update the api, this is a good workaround (but only for pc i'm afraid).

      quick video to explain below - cheers

      Ruby2013 Save8.zip

      original post was:
      I hope the api now allows this, because i feel it is badly needed.

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

        It doesn't do it yet. 😞
        The saved version is still always the same as the 'parent' SKP.
        A formal request has already been lodged for an optional 'second argument'...

        So [In the future version] saving as the current version it remains
        model.save('xxx.skp')
        But [In the future version] to save as another version it's...
        model.save('xxx.skp', 8)

        TIG

        1 Reply Last reply Reply Quote 0
        • CadFatherC Offline
          CadFather
          last edited by

          sorry TIG - slightly confused - are you saying that line should work but it doesn't?

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

            @cadfather said:

            sorry TIG - slightly confused - are you saying that line should work but it doesn't?
            No, I'm saying it doesn't do anything different, YET.
            There's no change in the new v2013 API.
            A feature-request has been formally made...
            The last part of my text was an explanation of how it might work in any future API improvements... πŸ˜’

            TIG

            1 Reply Last reply Reply Quote 0
            • CadFatherC Offline
              CadFather
              last edited by

              i see - i wonder how long that 'yet' is going to last...

              i might be able to work something out by calling an autoit ot hotkey script - we'll see - this is another important one.

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

                Jim wrote this http://sketchucation.com/forums/viewtopic.php?p=294768#p294768
                It's for Windows, using that 'scripting' technique...
                It was to save v8 as v7 but I'm sure it's readily adjustable...

                TIG

                1 Reply Last reply Reply Quote 0
                • CadFatherC Offline
                  CadFather
                  last edited by

                  that's great Tig, thanks - doesn't work and the code is beyond me right now but it's a start.

                  EDIT: Got it - coming soon..

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

                    The commands like TAB etc are just mimicking what key presses you need to do when the save_as dialog opens to get to the previous version in the dropdown list, try it manually with the script open and see what presses do.
                    Adjust the presses to suit v2013's window set up...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • CadFatherC Offline
                      CadFather
                      last edited by

                      TIG, you are talking to the master of coding.. you just have to be patient...!

                      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