I'm glad to here that there is some interest in such a tool
I updated the repository with the first Basic implementation of a report. (still no documentation yet)
The tool works a bit like the "Arch schedule" tool.
Open a document and start the "Reporting" workbench.

- reporting_start.png (14.09 KiB) Viewed 1482 times
This will create a Report Object in the document for you. Each Report object has a spreadsheet attached that stores the result of the report.
Double click the Report Object to add some queries to it.

- reporting_statements.png (8.89 KiB) Viewed 1482 times
For the sample file attached in the initial post i used this statement:
Code: Select all
Select Label, HorizontalArea
From document
Where IfcRole = 'Column'
When you click "OK" the report is executed. Now open the Spreadsheet and you should see a result like this

- reporting_result.png (4.99 KiB) Viewed 1482 times
You can use multiple Statements per report. And you can skip the Header field if you don't Need one.
Maybe some of you could already test it and give me feedback about the general workflow.
Also intersting to me is: Are there any properties that need special tostring handling (e.g. for quantities i use the UserString property. Everything else is simply converted to a string with pythons "str" method)
Happy reporting
