@dan rathbun said:
The origin of the active_model is [0,0,0], which is referenced as ORIGIN.
If the model came from Google Earth, then the real world co-ordinates (in inches) will be in the GeoReference attribute dictionary.
> mdl = Sketchup;;active_model
> if mdl.georeferenced? &&
> !mdl.attribute_dictionary('GeoReference',false).nil?
> [
> mdl.get_attribute('GeoReference', 'ModelTranslationX', 0.0),
> mdl.get_attribute('GeoReference', 'ModelTranslationY', 0.0),
> mdl.get_attribute('GeoReference', 'ModelTranslationZ', 0.0)
> ]
> else
> ORIGIN.to_a
> end
>
Or Model.point_to_utm
http://www.sketchup.com/intl/en/developer/docs/ourdoc/model#point_to_utm