Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5750

Way to select/insert all block definitions defined on x layer and change them to correct layer?

$
0
0

@ShynnSup wrote:

Hi everyone!

  • 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,
Shynn

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5750

Trending Articles