Batch process 3dm files and write result in a GH panel

Hi all,

I need to get the total volume of geometries in a certain layer for hundreds of .3dm files in a folder. The 3dm files were created in batch, so they have the same layer structure. Only project numbers are different. Please see the screenshot.

  1. All I need is the volume total of all geometry on layer ‘FG Metal’, and the corresponding 4-digit project number in the parent layer of ‘FG Metal’.
  2. I don’t know how to write the list of strings onto Grasshopper panel.

(3. The “#get layer parent name” part failed for some reason. But it worked before for some reason :frowning: )

Could someone help trouble shooting the code here? My Rhino script coding skill is very limited for this project.

batch volume test files.zip (44.1 KB)
batch volume test.gh (6.6 KB)

1 Like

This would be really useful!