I created a Dynamic Component in Pro 14 and I am trying to manipulate an instance of that in Sketchup Make 15. When I assign a value to an attribute such as LenZ, i don't see any change. Could somebody help?
Here is a sample code :
dl = Sketchup.active_model.definitions
file_path = Sketchup.find_support_file "style_85.skp", "Components/"
comp_def = dl.load file_path
ent = Sketchup.active_model.entities
inst = ent.add_instance comp_def,[0,0,0]
original value for LenZ is 20
inst.set_attribute "catalogue","LenZ",70