Skip to main content

I'm using Python Caller with the module ifcopenshell to validate properties and naming of Ifc entities.

To do this im also using an excel file that lists the requirements, and the script is now dynamically creating attributes based on the excel file.

My challenge is that i want to write a excel file with the results, but i dont want to manually decide wich attributes to expose so the reader can access them.

Is it even possible?

It's not possible to dynamically expose attributes, as attribute visibility is decided at design-time and not at run-time. The solution is to use a dynamic workflow, here's a good starting point for more information: https://community.safe.com/s/article/dynamic-workflow-tutorial-introduction


Reply