Here is version 3!
export_block_counts3.zip (1.8 KB)
This one includes a dialog to select Block definition properties to export.
I wrote this Toolbar macro, but you will need to replace my path with your own:
! -RunPythonScript “C:/Users/mary/Desktop/Scripts/export_block_counts.py” Enter
If you are using Rhino 8, try Dale’s Garage to add an panel for your Python scripts.
Rhino 8: type command PackageManager → Garage. Install and open Scripts panel:
Use the file folder icon to browser to your Python scripts folder. I keep one right under the Desktop and when I write or download a script, it always goes there.
Let us know if this works for you.
Sincerely,
Mary Ann Fugier