Something like this...
comp_instance = (Sketchup.active_model.entities.select{ |e| e.typename == "ComponentInstance"}).first Sketchup.active_model.entities.add_edges( ORIGIN, comp_instance.transformation.origin )π‘ LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
M