This is getting REALLY interesting. My large models normally have over 100 layers. Attached is a partial listing for one model. Note the "0 - Small Payload" names: these were changed with your original name changer command - ENORMOUSLY HANDY.
In my original post I said:
@bob james said:
Or if I've developed a new model and want to re-organize the layers with prefixes.
This is true even for older models that are used as a basic model to which different user equipment is added.
You said
@tig said:
you can then use 'layers' later on - e.g.
layers.each{|layer|puts layer.name}
which would print out each of the layers' names in turn in the Ruby Console [puts 123] You could then use layers again to do something else - like change some layers' names...
I see what you said, but don't really know how to implement it.
Quite often it would be very handy to be able to re-organize the layer names into a better grouping (since there is no provision for sub-layers under a heading layer). In this case being able to have a list of the layers, change the names and then feed it back in. The "feed-back" would probably have to be in the same order as the original name list, but SU would then re-sort them into the new groupings. Is this kind of thing doable?
You can see some of the scenarios I've done at http://www.calspace.com at Processing Scenario - Small and Processing Scenario - Large
