View Single Post
  #3  
Old 04-16-2012, 09:23 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
If you parent the model to a group node, then saving the group will preserve the transformation of the model. Example:
Code:
import viz
viz.go()

root = viz.addGroup()
model = viz.add('dojo.osgb',parent=root)
model.setEuler(180,0,0)

root.save('dojo_rotated.osgb')
Reply With Quote