m=Sketchup.active_model;g=m.entities.add_group();es=g.entities;ps=m.pages;m.star t_operation("CamPos");ps.each{ p pt=p.camera.eye;es.

add_cpoint(pt);es.add_text(" CamPos="+p.name,pt,[0,0,6])};m.commit_operation

Sign up to vote on this title
UsefulNot useful