Hi Jordy1989,
Firstly, thanks for working on this : )
Yes, a comma is perhaps the best delimiter for export/import, as names may have spaces.
Yes, originally, I wanted a count of blocks, but also non-block objects that have been given a name, as in the second screenshot above.
No, I do not need to count blocks nor objects without names. I feel that there should be a way that a user can exclude an object from count. (Although a count of unnamed objects might be good for showing progress.)
I think that the block name should be used or take precedence over the object name because the user may name the part for its purpose, but that part still has to be counted, and purchased or made. An object might be named “kids vanity” but its blockname still might be "Model 311 16-Inch White Sink."
BlockName > ObjectName
I think that all named-objects and block-names should be counted whether or not they live in blocks or not, BUT the same object or instance shouldn’t ever be counted twice, because it’s difficult to sort them out.
[This is a problem with the current block manager; it’s a forward tree that doesn’t show all root level objects. Those blocks made from other blocks need to be put in a reverse/inverse tree, making a dependency chart, such as:
– -- – super-widget
– -- widget-a
– -- widget-b
– -- widget-a
– angle
– boltshort
– washer
– nut
– -- widget-b
– bracket
– boltlong
– washer
– nut
BOM:
1 bracket
1 angle
1 boltshort
1 boltlong
2 nut
2 washer
Everything in the BOM has to be bought or made.]
I am going to try your new script-function : )
Thanks again,
Brenda