Hi, I try, a lot, but failed.
I am able to get the INSTANCE name and do stuff with it but I have trouble to get the DEFINITION name
Here what i make to get the instance name and printed:
selection = Sketchup.active_model.selection
selection.each { |entity|
value = entity.name
}
UI.messagebox("Name; " + value.to_s)
I also got the definition code but don't know what to do with it.
Thx