Skip to main content
Question

Is it possible to make sure new attributes created in Python Caller is automatically exposed?

  • December 13, 2023
  • 1 reply
  • 42 views

skibhof
Participant
Forum|alt.badge.img

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?

1 reply

david_r
Evangelist
  • December 14, 2023

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings