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

    [Plugin] Snapshot – (1.0.1) — updated 09.10.2012

    Scheduled Pinned Locked Moved Plugins
    74 Posts 12 Posters 54.8k Views 12 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.
    • G Offline
      glro
      last edited by

      OK

      yes it helps

      when i close and open sketchup again, the icon and snapshot settings windows appear on the screen

      but i cannot save the parameters (clicking on "OK" doesnt change anything)

      i notice the lines you added to create a file shortcut; since this is the only option i am interested in, i'll try to add them to the previous version, that worked perfectly on my computer

      thank you

      1 Reply Last reply Reply Quote 0
      • A Offline
        Aerilius
        last edited by

        @glro said:

        yes it helps

        That is good!

        @glro said:

        clicking on "OK" doesnt change anything

        Toolbar changes can only take effect after restarting SketchUp. (Maybe that's not so obviously written.)

        1 Reply Last reply Reply Quote 0
        • G Offline
          glro
          last edited by

          when i launch sketchup again, i get "wrong number of arguments (0 for 1)"

          The plugin does take a shot when i click on the button

          but i cannot get the snapshot settings windows on the screen anymore

          it may be because of my computer, if i am the only one to have this problem...

          1 Reply Last reply Reply Quote 0
          • A Offline
            Aerilius
            last edited by

            I am very sure it's not your computer. I couldn't find anything on my own.

            @unknownuser said:

            "wrong number of arguments (0 for 1)"

            This error was on the Ruby Console? Can you tell me what was before or after that? There should be a line number and a line number is very much helpful!

            1 Reply Last reply Reply Quote 0
            • G Offline
              glro
              last edited by

              no, nothing in the ruby console

              it is an error message when sketchup loads all the plugins

              no numbers


              erreur chargement

              1 Reply Last reply Reply Quote 0
              • A Offline
                Aerilius
                last edited by

                Ok, SketchUp does not tell us much about load errors. In such a case we need to reload the plugin manually in the Ruby Console to see more details. Can you do:
                load "ae_Snapshot/Snapshot.rb"

                1 Reply Last reply Reply Quote 0
                • G Offline
                  glro
                  last edited by

                  Here is what i get when i type 'load "ae_Snapshot/Snapshot.rb" 'in the ruby console

                  load "ae_Snapshot/Snapshot.rb"
                  Error: #<ArgumentError: C:/Archivos de programa/Google/Google SketchUp 8/Plugins/ae_Snapshot/Snapshot.rb:309:in `initialize': wrong number of arguments (0 for 1)>

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Aerilius
                    last edited by

                    Thanks!!!
                    I found and fixed the issues!

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      glro
                      last edited by

                      sorry to write that i still have an error message


                      string to integer error

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Aerilius
                        last edited by

                        I'm not sure if I found it (line 187?). Can you post the error with line number that the Ruby Console gives?
                        load "ae_Snapshot/Snapshot.rb"

                        1 Reply Last reply Reply Quote 0
                        • G Offline
                          glro
                          last edited by

                          Here is the error message:

                          "Error: #<TypeError: C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/ae_Snapshot/Snapshot.rb:319:in []': can't convert String into Integer> C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/ae_Snapshot/Snapshot.rb:319 C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/ae_Snapshot/Snapshot.rb:319 C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/ae_Snapshot/Snapshot.rb:318:in each'
                          C:/Program Files (x86)/Google/Google SketchUp 8/Plugins/ae_Snapshot/Snapshot.rb:318
                          (eval):155:in `load'
                          (eval):155"

                          line 319

                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            Aerilius
                            last edited by

                            (I won't be back until tomorrow.)
                            I just made a quick change, can you test it?


                            Put it in .../Plugins/ae_Snapshot/Snapshot.rb

                            1 Reply Last reply Reply Quote 0
                            • G Offline
                              glro
                              last edited by

                              i replaced the previous file in the rbz, by this new one, and yes, now it works perfectly

                              a nice tool to keep tracks, and retrieve a lost model

                              thank you

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                driven
                                last edited by

                                been playing around with style
                                no need to open, but do the icons download to other computers
                                don't stay stuck when on the file posting, but I want to test if they download
                                This is the Standard horrible mac one
                                it's icon doesn't upload either??

                                john

                                learn from the mistakes of others, you may not live long enough to make them all yourself...

                                1 Reply Last reply Reply Quote 0
                                • simon le bonS Offline
                                  simon le bon
                                  last edited by

                                  This last release is impressively highly configurable - And then need to be tamed a bit

                                  The fact is that I'm not easy with the {nr} parameter and the "change digit by" line bellow. 😳

                                  I'm not able to make the incrementation work.

                                  Whatever I test, I obtain something like this: xyz_00**_1-0-0**.png ❓

                                  Need some further explanation 💭 😒

                                  simon

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    Aerilius
                                    last edited by

                                    @unknownuser said:

                                    Whatever I test, I obtain something like this: xyz_00_1-0-0.png

                                    That depends on what you want to get (I don't know).

                                    It's the printf format (I didn't need to implement it, otherwise it would be more complicated). You can write any separating characters and %d is replaced by the number.
                                    It should work that for a major version 1, minor version 3, you get
                                    [pre:1z9sy1o8]%d → file_1.skp
                                    %d.%d (or %1d.%1d) → file_1.3.skp (number between %d sets minimum width)
                                    %d.%2d → file_1. 3.skp (minimum width is filled up by spaces)
                                    %d.%02d → file_1.03.skp (with additional 0, it is filled by 0)
                                    %d-%02d → file_1-03.skp
                                    %d_%02d → file_1_03.skp
                                    %02d.%02d → file_01.03.skp
                                    %02d.%03d → file_01.003.skp[/pre:1z9sy1o8]

                                    1 Reply Last reply Reply Quote 0
                                    • simon le bonS Offline
                                      simon le bon
                                      last edited by

                                      Ok, thank you! I understand very better now.

                                      But Hum! incrementation still dont work for me. Is it something I'm doing wrong or is it something that don't work with the script ?

                                      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/Aerilius_Snapshot_005.jpg

                                      By pressing my +1 button set as above

                                      a xyz.skp Snapshot should be saved as

                                      xyz_01_01.png (due to %02d_%02d)

                                      and due to "change the 2 digit by 1", I understand that the following +1 button depressed should increment the files by the second digit:
                                      xyz_01_02.png
                                      xyz_01_03.png...

                                      But my file is saved as
                                      xyz_01_00.png and instead of increment it , overwrites on itself.

                                      Still need help I guess 😳

                                      Simon.

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        Aerilius
                                        last edited by

                                        fixed!

                                        1 Reply Last reply Reply Quote 0
                                        • simon le bonS Offline
                                          simon le bon
                                          last edited by

                                          @aerilius said:

                                          fixed!

                                          Hi Ae,
                                          it is not necessarily very comfortable to be tester 😉 😕

                                          It seems that increment still doesn't work...

                                          (that decrements from 1 to 0 and then overwrites)

                                          Cheers,
                                          Simon.

                                          PS:It should certainly be very useful to add the usages of {nr} parameter to the first post

                                          1 Reply Last reply Reply Quote 0
                                          • simon le bonS Offline
                                            simon le bon
                                            last edited by

                                            ~~ content outdated --> erased ~~~

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

                                            Advertisement