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.
Even in the saved file it appears in the report, but when I import the file inside another the attribute disappears from the report but stays in that dynamic attribute tab.
I ran with the component and with the instance, but even so the problem persists.
Well, past a few months the error came back, iāve tried these two suggestions but neither worked. iād just workarounded these last months, but now i canāt anymore. Let me explain whatās happening now.
Iāve created a script to open a list of component in an irrelevant sketchup file then set up some dynamic attributes, like iditem, description, etc⦠then saved them in a proper file
But when i import these component assets inside a project i can see the dynamic attributes in component attributes tab, but looking inside component option got the followed error:
Tried use the plugin created by Eneroth āAttribute Editorā but the dynamic ones only shows the attributes ā_has_movetool_behaviorsā and ā_hasbehaviorsā, like showed below.
Have you considered to export your SketchUp model to Trimble Connect? You can generate a report in CSV format and you can find more parameters than in the SketchUp report.
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.