How to make entity selected using Ruby?


#1

I can find entity in Model by entityID, but i do not have idea how to make selected this entity.
Selected - means to be marked as using Sketchup tool select


#2

Use Sketchup.active_model.selection.add(entity) to select an entity.


#3

Thanks, it’s quite easy.


#4

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.