How to make entity selected using Ruby?

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

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

2 Likes

Thanks, it’s quite easy.

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