I am currently having some complications working with blocks and I was wondering if anyone could recommend a workaround for my situation, or help me develop a script that could make my life easier…
A week ago I posted at the scripting category but maybe it wasn’t the relevant category to do so.
Below I describe my current situation and problem:
- I am currently working on a team of a couple of people, utilizing block definitions inside Rhino.
- I often encounter layers that I do no need, but do not get purged because a block definition was defined on that layer.
- My workflow to deal with this is, try to delete layer>get name of block that is defined there>insert command>find block name>insert it> double click to edit>change layer on which block lays.
This is already a very time cosuming workflow for a simple task , but what is worse, when you try to delete the layer, Rhino does not name all block definition that are actually there, it tells you one at a time . So if you change the layer of one block and try to delete the layer, you then get a new message telling you there is another block on that same layer!
How can I deal with this? I was thinking a script that could identify all blocks that are defined on x layer, insert them, and change them to a correct user defined layer… Is this possible?
Thanks in advance,