Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
Change value of a reserved DC attribute
-
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
Advertisement