I know it is easy to export the blocks list.
How is it possible to list or export a list of ALL blocks in a file?
Let’s say there is a block in the model filename = “B”.
This block consists of some geometry AND another block, filename = “2”.
When this block “B” is referenced in the main file, how to get info of ‘child’ block “2”?
In a script that exports that list and also respects the level of nesting?
Like:
BlockB
(TAB) Block2
Something ready made in the wild?
-C-H-A-R-L-E-S-
1 Like
dale
(Dale Fugier)
July 7, 2015, 3:35pm
2
Hi Charles,
Here is a sample script that (I think) does what you want but with a single block:
https://github.com/mcneel/rhinoscript/blob/master/BlockInspector.rvb
If this works for you, then it shouldn’t take much to modify for all blocks.
– Dale
dale
(Dale Fugier)
July 7, 2015, 3:53pm
3
You might also take a look at my “BlockCommander” prototype.
Hi Brenda,
Great stuff - thanks for taking the time to compile all of this. Tuning up the block tools is certainly on the to-do list for Rhino. Once we kick Rhino for Mac out the door and turn our focus back to the Rhino WIP, you should see some movement in this area.
A while ago, I threw together a Rhino 5 plug-in as a prototype of where we want to head. It is my no means complete, and it certainly isn’t as full-features (based on what I’ve read on this thread). But it might be worth your (an…
Dale, that looks very handy , nearly all what is wanted.
Except an export to file function.
If you could make that happen, an extra script would be superfluous.
That would be just great.
Thanks,
-C-H-A-R-L-E-S-