Hi, I have been developing in the last few weeks a script to create assets and automatically fill in the dynamic attributes.
These functions have worked correctly, however when
I insert these generated assets into a project and generate the report, these filled attributes do not appear in the report, but all the others manually filled appear. Has anyone experienced the same and found a solution?
Also, both the definition and it’s instances have "dynamic_attributes" dictionaries.
When the instances have attribute values that differ from the default, the values are stored in the instance’s dynamic dictionary.
This means that when the instance does not have values that differ from the definition’s default values, then the instance’s dictionary will not have these DC attributes. So in this case, the value must be taken from the component definition’s dynamic dictionary.
I would suggest using Aerilius’ Attribute Inspector extension. You can choose to look at the selected instance’s definition’s dictionaries using this inspector.