View Single Post
  #6  
Old 05-31-2017, 01:35 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,465
First get a handle to the transform node and then you can get its position and orientation:

Code:
model = viz.addChild('model.dae')
viewNode = model.getTransform('skp_camera_Last_Saved_SketchUp_View')
pos = viewNode.getPosition(viz.ABS_GLOBAL)
ori = viewNode.getEuler(viz.ABS_GLOBAL)
Reply With Quote