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

    [REQ] Tool to quick delete layers

    Scheduled Pinned Locked Moved Plugins
    12 Posts 3 Posters 1.0k 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.
    • bagateloB Offline
      bagatelo
      last edited by

      I am organizing my library of components. I need plugin to make the following:
      The script should delete all present Layers in the scene, in my case, the component that it would be editing in the moment.
      The script should create a layer and it put all of the entities in the scene in this layer.
      The script should create a menu somewhere for me can set a keyboard shortcut.
      The name of the layer I can adjust editing the own Script.
      Thanks

      While the cat's away, the mice will play

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        Not quite sure what you mean - "in the scene". Do you mean in the model? Do you just want a script that moves everything to layer 0 and purges unused layers?

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • bagateloB Offline
          bagatelo
          last edited by

          @chris fullmer said:

          Not quite sure what you mean - "in the scene". Do you mean in the model? Do you just want a script that moves everything to layer 0 and purges unused layers?

          You are right. But I need more one thing. After delete all layers, the script must create some layer, determined in some field in the script, and must put all entities in this layer. This is very useful to me. Thanks.

          While the cat's away, the mice will play

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            So you could have a script that moves everything to layer 0. Then purges all layers. Then it asks you for a new layer name. It then puts all groups/components onto that new layer, but leaves all raw geometry on layer 0.

            Is that about right? I prefer to keep raw geometry on z, and only move the groups/components onto a different layer. It makes things much easier. So would that flow be approximately accurate?

            Chris

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

            1 Reply Last reply Reply Quote 0
            • bagateloB Offline
              bagatelo
              last edited by

              @chris fullmer said:

              So you could have a script that moves everything to layer 0. Then purges all layers.

              Right 😄

              @chris fullmer said:

              Then it asks you for a new layer name.
              No ask. No questions. Silent...

              @chris fullmer said:

              It then puts all groups/components onto that new layer, but leaves all raw geometry on layer 0.

              Everything in new layer.
              Thanks Chris, you are Great.

              While the cat's away, the mice will play

              1 Reply Last reply Reply Quote 0
              • X Offline
                xrok1
                last edited by

                i don't think you understand how the layers work if you are asking for this. you can simply select all layers in the layer manager and hit the '-' button it will ask if you want to move all to default layer, answer yes. now create a new layer, name it wha6t you want and select everything (all components) and in the entity info window choose the new layer from the drop down list!

                @chris it seems maybe bigotalo want a script to run like a batch file and automatically go through all his files with no interaction and do these changes???

                “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                http://www.Twilightrender.com try it!

                1 Reply Last reply Reply Quote 0
                • bagateloB Offline
                  bagatelo
                  last edited by

                  Yes, mmmmmmm maybe I repeat this process so many times ??? It's not boring ???
                  Or maybe I don't understand how Palete Layers work ???? HAHAHAHA

                  While the cat's away, the mice will play

                  1 Reply Last reply Reply Quote 0
                  • X Offline
                    xrok1
                    last edited by

                    you want someone else to correct your mistakes?

                    just fix each component as you use it you don't have to do them all at once.

                    “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                    http://www.Twilightrender.com try it!

                    1 Reply Last reply Reply Quote 0
                    • bagateloB Offline
                      bagatelo
                      last edited by

                      Some components I get in the Internet, other I import of Autocad and still other I import of the 3dsMax. I collect components for three years. I have more than three thousand components. I didn't have this vision early of how to organize components. And some I never touched. Do you understand?

                      While the cat's away, the mice will play

                      1 Reply Last reply Reply Quote 0
                      • Chris FullmerC Offline
                        Chris Fullmer
                        last edited by

                        HEhe, ok this is pretty rough, but I made a quick video of how to do it manually and quickly. Done in portuguese. Or I should say it is a close approximation of portuguese. Plus some english, and maybe spanish 😄 And a really bad sotaque!

                        Espero que da para entender!

                        [flash=1280,720:16eirn4e]http://chrisfullmer.com/chrisfullmer/forums/Layer_em_portuguese.swf[/flash:16eirn4e]

                        Chris

                        Lately you've been tan, suspicious for the winter.
                        All my Plugins I've written

                        1 Reply Last reply Reply Quote 0
                        • Chris FullmerC Offline
                          Chris Fullmer
                          last edited by

                          Ahh, so you do want a way to do it automatically over an entire folder then? Yeah, the method in my video is not great for that.

                          Chris

                          Lately you've been tan, suspicious for the winter.
                          All my Plugins I've written

                          1 Reply Last reply Reply Quote 0
                          • bagateloB Offline
                            bagatelo
                            last edited by

                            OMG!!! So funNy. HAHAHAHAH Your português is very good. Congratulations.
                            I repeat this (yes, this...) process so many times... So sorry to let you know that
                            I already know THIS PROCESS. So sorry. And I think this is not fast enough.

                            I repeat: So funny your video. Thanks anyway.

                            While the cat's away, the mice will play

                            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