Hi, again.
I need your help.
I perform an automatic ruby code for change colors of group, but I can't select the specified entity.
My code start from this:
Sketchup.active_model.active_entities.grep(Sketchup::Group).each do |group|
[:........]
the poblem is that when open the sketchup project, active_entities is:
Sketchup.active_model.active_entities
#Sketchup::Entities:0x00000008fbfd08
in this mode, groups thus are not found.
but, when perform double-click into specified group, then acitve_entities is:
Sketchup.active_model.active_entities
#Sketchup::Entities:0x0000000b5deef8
(note that is another id)
how can't find another entity or set active_entity ??
if do a loop or i access by index, then get another components......
Sketchup.active_model.entities[0]
#Sketchup::ComponentInstance:0x00000008fbfc90
Sketchup.active_model.entities[10]
#Sketchup::Edge:0x00000008fbf948
.....
Thanks, very much
Yamil.