How to get user-defined attributes of an assembly into a report
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:you should use this:This inquires the attribute data from assembly level, and not from part level.
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")GetValue("USERDEFINED.USER_FIELD_2")