hi . suppose to we make a component that have materials attribute.
i can access name of this material by this code:
sele = Sketchup.active_model.selection[0]
dyn_att = sele.definition.attribute_dictionaries['dynamic_attributes']
p dyn_att["material"]
when i clone this component and change material, its apply in model and component attribute but my code return same result for each component !
how can i solve this problem