[Plugin] Explode Group to Layers
-
(c) TIG 2010
Explodes a Group, BUT unlike built-in.explodemethod, which puts Exploded Entities that are on 'Layer0' onto the Layer of the original Group, this keeps all of the Exploded Entities' Layers unchanged.
Usage:explodegroup2layers()
If no argument is given then the current Selection is used and any Groups in it are processed.
If an argument is given and it's a Group then that is processed.
e.g.explodegroup2layers(group)
If an argument is given and it's an Array then any Groups in that Array are processed.
e.g.explodegroup2layers([group1,group2,group3])
Probably most useful inside other tools to keep exploded entities on the expected layers.Put into Plugins folder [or copy code into another tool]...
-
This is run via the Ruby Console? Any chance of a little pictorial? I have tried it throught the Console but the second option has my head in a vice
-
Normally you'll just select some groups and type
explodegroups2layersin the Console.
When it's called within another tool you can set it to run on a selectionexplodegroups2layers()or on one groupexplodegroups2layers(group)or on an array of groupsexplodegroups2layers([gp1,gp2,gp3]).
Most users will use it the first way.
the optional 'arguments' make it more flexible for use within other tools...
-
I'm looking for a plugin that creates a new layer for each object in the scene or in the selection, either component or group, without considering subgroups. Has anyone done something like this?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement
