It’s a bit late, but I wanted to share a pretty handy way to create a BOM.
I put this one together using a few commands from a free plugin called ByRhinoGadget
Sharing a video and a link below. check it out when you get a chance.
The video is in Korean, but there’s a script included, so auto-generated subtitles should make it easy to follow.
Hi @akmitchell001,
This is happening when you run the script?
I will need a file to duplicate the error.
Please post a small 3DM or email Tech@mcneel.com/Attn. Mary.
I will try the Export_Block_Counts py and see if I can figure out the error.
@nickkim Very cool. CountObjects has an Output type. Use Draw Table to place text.
Select objects to count ( OutputType=DrawTable Font_Arial FontSize=3 LineSpace=1.5 )
Currently my callouts are not being included in the CountObjects table, like we see in the video. If there is an option I need for this, let me know.
Making this easier in Rhino, it is on the wish list.
Add Callout for ExportAttributes
ExportBlockCount to a Table and ExportAttributes need to use a table.
When Rhino has a table object, then we may see a way in Rhino to do this without an addon.
Watch the Serengeti category for any announcements on Rhino 9.
CountObjects is a command that displays the object name, layer name, material name, and, if applicable, the number and information of blocks. Although it is originally intended for quantity takeoff in architectural or complex models, we applied it for creating the Bill of Materials (BOM).
The numbers assigned to each object were manually entered into the object names. Then, when executing the AddCallout command, we selected the objects in the same order as the assigned numbers, resulting in matching outputs.
Please note that the CountObjects and AddCallout commands are not directly linked to each other.
Try out the updated AddCallouts command in byRhinoGadget 1.4.4. A feature has been added that allows you to create a list table linked with numbering. Weight is calculated using the density specified by the SetDensity command and the volume of the geometry. You can change the column order of the table and toggle the display of items.