Can I feed realtime coordinates to objects in Sketchup

(Moved to Developers category.)

The Ruby API has observers which can be attached to component instances (which is what Dynamic Components are.)

They can fire if the entity changes, moves or the user changes some property.

But this notification only happens locally within the SketchUp process. Any extra-process communication would need to be created by you.

… perhaps using one of the supplied Ruby Standard libraries:
http://ruby-doc.org/stdlib-2.0.0/index.html
perhaps a WEBrick server:

Be sure to take note of:
Sketchup::ComponentInstance#move!()

… and the SketchUp API abstract Animation class:
http://www.sketchup.com/intl/en/developer/docs/ourdoc/animation

2 Likes