• Login
sketchucation logo sketchucation
  • Login
🔌 Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

[Plugin] Purge All

Scheduled Pinned Locked Moved Plugins
64 Posts 32 Posters 139.1k Views 32 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.
  • W Offline
    watkins
    last edited by 13 Mar 2011, 00:13

    Dear TIG,

    Would it be possible for the 'report' to list what it has purged? At the moment it simply tells you how many of each type it has purged (6 components, 2 layers etc), but not what. I would find that option really useful when working on large models

    Kind regards,
    Bob

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 13 Mar 2011, 15:05

      @watkins said:

      Dear TIG,
      Would it be possible for the 'report' to list what it has purged? At the moment it simply tells you how many of each type it has purged (6 components, 2 layers etc), but not what. I would find that option really useful when working on large models
      Kind regards,
      Bob

      It would have to be into some 'log' file with the model - say log='Model-Purgelog.txt' which auto opens if you have 'Report' set. [That could extend to No|Yes|Log ]. It WOULD take more time as it needs to make a lists for each type purged - e.g. for components defsIN=model.definitions.to_a and then after the purge defsOUT=model.definitions.to_a, then find what's 'gone' defsGONE=defsIN-defsOUT, then find their names and add them to the 'log' with defsGONE.each{|d|file.puts(d.name)}... I'll think about it... 🤓

      TIG

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 13 Mar 2011, 16:01

        Here's v1.5 http://forums.sketchucation.com/viewtopic.php?p=82559#p82559
        The Report option now has Yes/No/Log
        If you choose 'Log' then as well as reporting the numbers purged in a dialog, it also writes a file called 'ModelName-PurgeLog.txt' into the model's folder [or 'Untitled-...' and in the 'default folder' if it's yet to be saved]: that file then auto-opens at the end - it lists the numbers AND the 'names' of each of the purged items...
        All as Bob's [watkins] request 😉

        TIG

        1 Reply Last reply Reply Quote 0
        • W Offline
          watkins
          last edited by 13 Mar 2011, 17:29

          Dear TIG,

          Thank you so much for making the changes. I will find the additions very useful.

          Kind regards,
          Bob

          1 Reply Last reply Reply Quote 0
          • W Offline
            watkins
            last edited by 13 Mar 2011, 23:09

            Dear TIG,

            Just a quick note to thank you for the additions. The plugin is now definitely the dog's love spuds (translate that into Spanish).

            Thanks,
            Bob

            1 Reply Last reply Reply Quote 0
            • M Offline
              morri
              last edited by 20 Mar 2011, 02:20

              @watkins said:

              Dear TIG,

              Just a quick note to thank you for the additions. The plugin is now definitely the dog's love spuds (translate that into Spanish).

              Thanks,
              Bob

              Seconded!

              Another Bob

              1 Reply Last reply Reply Quote 0
              • T Offline
                troikhongxanh
                last edited by 20 Aug 2011, 03:34

                cool !!! thank you very much

                1 Reply Last reply Reply Quote 0
                • H Offline
                  halroach
                  last edited by 24 Nov 2011, 11:41

                  I just saw this post, and posted a REQ which might be related to this:
                  http://forums.sketchucation.com/viewtopic.php?f=323&t=41498

                  It would be really useful to purge all models within a folder or a set of folders... (I believe it would save on tons of wasted space)

                  FlexTools - Super Quick Windows, Doors, Slats...

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    thomthom
                    last edited by 24 Nov 2011, 11:43

                    Not a bad idea. I'd like to see all the models on the server purged. So many that are never purged... grrrr

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

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by 24 Nov 2011, 11:45

                      Yeah, this project seems ideal for doing these batch operations... too bad no one is working on it.

                      Hi

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        tspco
                        last edited by 2 Feb 2012, 00:00

                        I just downloaded it tried it works well, but is the report saved somewherw?, or is the dialog box after use, the report?

                        SU make 2017, /Twilight Render Hobby
                        Windows 10,64 bit,16GB ram, quad core Athlon 3.6 gHz proc. Anything else you want to know, ask me.

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TIG Moderator
                          last edited by 2 Feb 2012, 09:29

                          @tspco said:

                          I just downloaded it tried it works well, but is the report saved somewhere?, or is the dialog box after use, the report?
                          With the latest version [v1.5] by default with 'Yes' you get the brief 'report' on-screen [or with 'No' just does it with no reporting]; but if you select the third option at the end of the dropdown list - 'Log' - then as well as the on-screen 'report' a detailed file named 'ModelName_PurgeLog.txt' is made with the model, listing all of the changes that it has made... This log-file opens automatically on completion [at least it does on a PC - but probably not on MAC ? (untested)]. Note that if you haven't saved the 'new' SKP then this 'log' goes into the 'current working directory' with the prefix 'Untitled_'... Its changes are one-step undo-able...
                          🤓

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            flordemora
                            last edited by 3 May 2012, 01:29

                            @tig said:

                            Here's 1.5 20110313 Extended with reporting 'Log' option added.[attachment=0:3uczbf5s]<!-- ia0 -->PurgeAll.rb<!-- ia0 -->[/attachment:3uczbf5s]

                            Buenas Noches, he intentado bajar el purge all y mi computadora no abre la extension.rb, alguien me puede ayudar. Mi Sketch se cierra a cada rato y no me deja bajar componentes. Gracias.

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 3 May 2012, 09:28

                              @flordemora said:

                              @tig said:

                              Here's 1.5 20110313 Extended with reporting 'Log' option added.[attachment=0:c3179joq]<!-- ia0 -->PurgeAll.rb<!-- ia0 -->[/attachment:c3179joq]

                              Buenas Noches, he intentado bajar el purge all y mi computadora no abre la extension.rb, alguien me puede ayudar. Mi Sketch se cierra a cada rato y no me deja bajar componentes. Gracias.
                              I don't understand you completely.
                              Do you know how to install plugins ?
                              Download the PurgeAll.rb file from here http://forums.sketchucation.com/viewtopic.php?p=82559#p82559
                              and put it into the Sketchup Plugins folder.
                              When you restart Sketchup it should load a new item in the Plugins Menu ' Purge Unused...'.
                              It does not call or load 'extensions.rb' at all - but it does require 'sketchup.rb' which in turn might do this...
                              The following files MUST be in the 'Tools' folder [there might also be other files depending on what you have installed] - if there are copies or older files in the 'Plugins' folder it will cause problems - some old rogue zipped sets of files mistakenly included some files which get put in the wrong place.
                              Sketchup automatically makes these 'system' files in ' Tools', older ones mistakenly located in Plugins can load before these and then it can break Sketchup.

                              sketchup.rb extensions.rb dynamiccomponents.rb langhandler.rb sandboxtools.rb shadowstringsfix.rb SolarNorth.rb

                              *Yo no te entiendo perfectamente.
                              ¿Sabe usted cómo instalar plugins?
                              Descargue el archivo desde aquí PurgeAll.rb http://forums.sketchucation.com/viewtopic.php?p=82559#p82559
                              y ponerlo en la carpeta Plugins de SketchUp.
                              Al reiniciar SketchUp que se debe cargar un nuevo elemento en el menú de plugins " Purge Unused​..." [Purgar no usados].
                              No llamar o cargar 'extensions.rb' en absoluto - pero que requiere 'sketchup.rb', que a su vez podría hacer esto ...
                              Los siguientes archivos DEBEN ESTAR en la carpeta ' Tools' [Herramientas] [también podría haber otros archivos en función de lo que usted ha instalado] - si hay copias de edad o más archivos en la carpeta ' Plugins' puede causar problemas - algunos juegos antiguos rebeldes de cremallera archivos por error incluyen esos archivos que se ponen en el lugar equivocado.
                              Sketchup realiza automáticamente los archivos de estos "sistemas" en ' Tools' [Herramientas], los más viejos por error en los plugins localizados puede cargar antes de que éstas y, a continuación se puede romper Sketchup.

                              sketchup.rb extensions.rb dynamiccomponents.rb langhandler.rb sandboxtools.rb shadowstringsfix.rb SolarNorth.rb*

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • E Offline
                                ephi
                                last edited by 5 Sept 2012, 12:41

                                good ,very powerful.thx.

                                1 Reply Last reply Reply Quote 0
                                • V Offline
                                  vheesen
                                  last edited by 13 Mar 2013, 06:42

                                  Thanx

                                  1 Reply Last reply Reply Quote 0
                                  • I Offline
                                    iamandrewalonzo
                                    last edited by 19 Nov 2013, 14:33

                                    guys i cant see the purgeall button...i paste it on the ruby folder under ASGVIS and when i open the SU(Sketch UP) i cant find it...help me guys

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      TIG Moderator
                                      last edited by 19 Nov 2013, 17:02

                                      If you have permissions to add files to your Plugins folder...
                                      Properties > Security > Edit... FULL for all listed...
                                      And you have indeed installed it properly...
                                      When you restart SketchUp the tool should now appear appear in the Plugins menu - there is no 'button' unless you have a 'doctored' version that adds a toolbar...

                                      If you have v2013 why not use the Preferences > Extensions > Install... button to install any RBZ format plugin downloaded from the SketchUcation PluginStore...
                                      http://sketchucation.com/resources/pluginstore?pln=PurgeAll
                                      http://sketchucation.com/resources/pluginstore
                                      Or why not get/use the SketchUcation Plugin Store toolset and then you can AutoInstall plugins from within SketchUp automatically.
                                      http://sketchucation.com/resources/plugin-store-download
                                      Now there's no need to mess on manually installing plugins - provided that you have FULL permission to the Plugins folder 😉

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 14 Feb 2014, 15:51

                                        There's a new version available from the PluginStore.
                                        It contains some 'future-proofing'.
                                        The log-report format is also improved.
                                        It is now ready for the next generation of SketchUcationTools etc...
                                        http://sketchucation.com/pluginstore?pln=PurgeAll

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          TIG Moderator
                                          last edited by 20 Feb 2014, 10:35

                                          There's another new version available from the PluginStore.
                                          It contains some more 'future-proofing'.
                                          The log-report format is also improved yet again.
                                          It is now fully ready for the next generation of SketchUcationTools etc...
                                          http://sketchucation.com/pluginstore?pln=PurgeAll

                                          TIG

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

                                          Advertisement