Script Search
-
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.
-
It's easy to write if not already written.
-
I've written it already.
See here: http://www.sketchucation.com/forums/scf/viewtopic.php?p=46447#p46447...
-
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
^" -
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
Advertisement