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

    Script Search

    Scheduled Pinned Locked Moved Developers' Forum
    5 Posts 3 Posters 566 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.
    • Dave RD Offline
      Dave R
      last edited by

      Alright. Lay face down on the floor with your arms outstretched... Oh wait. Wrong kind of search. 🤣

      Actually, I am wondering if there is a could be written a script which, when activated would drill through all groups and components and move all geometry (edges and faces) to Layer 0. It seems lately in my tutoring that I am getting a lot of models from newer users who have screwed up and associated some geometry with layers other than Layer 0. Frequently the geometry is on a layer other than the layer associated with the group/component that the geometry is in. Obviously this creates problems when one starts to hide these layers. It is very tedious to go through each group and component to straighten this out.

      So, is it already written? Or is it easy to write? I'm thinking that it could be a click and its done sort of thing. No need for choices or options.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • T Offline
        todd burch
        last edited by

        It's easy to write if not already written.

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

          I've written it already.

          See here: http://www.sketchucation.com/forums/scf/viewtopic.php?p=46447#p46447...

          TIG

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            Cool! Thank you sir.

            Unfortunately I got the following error on SU startup.

            "Error Loading File default_all_layers.rb
            C:/PROGRA~1/Google/GOOGLE~3/Plugins/default_all_layers.rb:41: syntax error
            C:/PROGRA~1/Google/GOOGLE~3/Plugins/default_all_layers.rb:43: syntax error
            end#if
            ^"

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            1 Reply Last reply Reply Quote 0
            • Dave RD Offline
              Dave R
              last edited by

              Actually, I think I solved the syntax errors but the script doesn't seem to do what I would like to have happen. Thanks anyway, TIG.

              Dave

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              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