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

    [Plugin] Update all other scenes..

    Scheduled Pinned Locked Moved Plugins
    26 Posts 4 Posters 998 Views 4 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.
    • renderizaR Offline
      renderiza
      last edited by

      Here is a quick test for not changing camera settings but yes to everything else...

      
      model = Sketchup.active_model
      pages = model.pages
      
      
      pages.each {|page| 
      
        if page.label[-1..-1] != ")"
          if page.use_camera? 
            page.use_camera = false
            page.update
            page.use_camera = true
          else
            page.update
          end
        end
      
      }
      
      

      Now to add a dlg as to what you posted that might need a web dlg which is not that hard to do. Beside the camera you don't want other things like hidden stuff and layers so let me see how to go about that...cheers!

      [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

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

        Works great Rafael, in fact it is faster than going through the scene manager (with the thumbnails updated etc) - the change is instant on all scenes - if you have a long animation, it's great to check different styles.

        i'm wondering, what is easier webdialog or input box?

        in.jpg

        1 Reply Last reply Reply Quote 0
        • renderizaR Offline
          renderiza
          last edited by

          Not sure which one is faster between input box & web-dialog but I personally prefer web-dialog because you can have more control with it and can add some advance stuff that input box can't. Pretty sure both of them are fast so we won't have any problems there. I am working at a web-dialog to test it at the moment, will post it soon so you can make tests on it as-well.

          By the way I am having some difficulties to replace other pages styles without affecting things like visible layers, hidden entities, ect. πŸ˜• I can still make them remember their properties to save check boxes if checked or not but the style that is applied to them carry its properties and overwrites them except for camera which seems to be only one we got working at the moment. 😒

          Anyways will keep you posted...cheers!

          Note: the input box example you posted above seems like it would work fine though.

          [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

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

            , yes i tried running your plugin with some other commands from the api but was not successful..( πŸ˜’ )

            anyway, had some thoughts on this: i think it'd be good if we had 2 button (hence the 2 icons)
            one button shows the dialog, another repeats the same choices without the dialog.

            what do you think?

            rz_rec_24.pngrz_rec_16.pngrz_res_24.pngrz_res_16.png

            1 Reply Last reply Reply Quote 0
            • renderizaR Offline
              renderiza
              last edited by

              Seems like a great idea!

              I am almost finish with the web dialog so will be posting it soon.

              Oh and nice icons! πŸ’š

              [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

              1 Reply Last reply Reply Quote 0
              • renderizaR Offline
                renderiza
                last edited by

                menu.png

                [RE]SCENE v1.0.0(Current version tools buttons)
                tools-1.jpg

                For now there is no options until we can figure out some stuff but the camera position of each page is maintained when plugin is used.
                dlg-1.jpg

                Here is an example on how more options will look on web dlg;
                dlg-2.jpg

                Download: [RE]SCENE v1.0.0

                CAD_RESCENE v1.0.0.rar

                CAD_RESCENE v1.0.0.rbz

                Note: CadFather maybe you will put new updates on top post if you see fit...will let that up to you. πŸ˜‰

                [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

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

                  at 1.45am, it is good to see this update! 😲

                  looking good - in fact the graphic looks way better than my icons.. πŸ‘

                  if you think you'll manage to overcome the options thing, i'll wait before updating the first post..

                  ps. btw, you shouldn't put 'cad' - name it as one of your plugins. in fact you could consider to put all your plugins in one RZ folder, and just use some loaders to call them up... anyway..just taking too much credit since you're doing all the work! πŸ˜†

                  EDIT: actually it is working really well already! i'll update the first post..

                  1 Reply Last reply Reply Quote 0
                  • renderizaR Offline
                    renderiza
                    last edited by

                    Well maybe update it now because I am not to sure how to make the options work at the moment so it might take longer than expected.

                    And CadFather this plugin is your idea and ideas deserve more credit than you think, even more than what I am doing but don't worry lets call it our plugin and we both be happy. πŸ˜›

                    And its 9:06 PM here πŸ˜†

                    Cheers! πŸ‘

                    [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jorge2011
                      last edited by

                      very nice plugin.
                      you can add an option to rename all the scenes?

                      thanks

                      1 Reply Last reply Reply Quote 0
                      • renderizaR Offline
                        renderiza
                        last edited by

                        @jorge2011 said:

                        very nice plugin.
                        you can add an option to rename all the scenes?

                        thanks

                        This is very good idea!...added it to the to-do list for next update. πŸ‘

                        Note: By the way CadFather I added few more tool bar buttons;

                        web dialog [Re]Scene
                        Redo [Re]Scene
                        Previous Scene
                        Next Scene
                        Delete Scene
                        Add Scene

                        Some of this I found eliminated some extra clicks to perform so I found them useful hope you do as well...will be posting it soon (maybe not tomorrow but soon).

                        [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

                        1 Reply Last reply Reply Quote 0
                        • renderizaR Offline
                          renderiza
                          last edited by

                          ::CadFather::

                          If you will like me to make new topic so I don't have to bother you with updating the first post every time there is an update let me know.

                          What do you think?

                          [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

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

                            Sure, and don't call it cadfather! πŸ˜‰ πŸ˜†

                            1 Reply Last reply Reply Quote 0
                            • renderizaR Offline
                              renderiza
                              last edited by

                              @cadfather said:

                              Sure, and don't call it cadfather! πŸ˜‰ πŸ˜†

                              I will do that eventually and I promise not to call it CadFather! 🀣

                              [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

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

                              Advertisement