How to get user-defined attributes of an assembly into a report

Tekla Structures - Not version-specific
Environment
Not environment-specific
Question:
I have created some simple assemblies and added some values to their User field attributes. I have created a report to list these values, but I am not getting any values into report. How to get them?

Answer:
The user-attribute data is on assembly level in model and if you have ASSEMBLY row in Template Editor, so instead of using this:
GetValue("MAINPART.USERDEFINED.USER_FIELD_2")
you should use this:
GetValue("USERDEFINED.USER_FIELD_2")
This inquires the attribute data from assembly level, and not from part level.
Was this helpful?
Submit