Any way to make this work?
see, in this case I want to merge Roof and its sublayers into the Removable Piece > Roof
Any way to make this work?
see, in this case I want to merge Roof and its sublayers into the Removable Piece > Roof
One way to do this:
nice and quick, but maybe other ways to do.
Attached is a script which will merge all levels of sublayers back up into the top level for the chosen parent layers and delete the empty sublayers. Multiple top level parent layers can be chosen, all objects including hidden and locked objects will be transferred.
Blocks will be unreliable as usual, given that a block definition resides on one layer, but the original objects can reside on others… So the empty sublayers may not get deleted, as you cannot delete layers on which block definitions reside even if empty of other objects.
–Mitch
FlattenLayers.rvb(1.5 KB)
killer.
thanks mitch
Very usefull! Thank you mitch!