View Single Post
  #2  
Old 10-10-2014, 03:00 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
You could search online to see if there is a Python add-on library that writes data to an XML file. The string formatting page in the Vizard help shows examples of formatting in Python. The following code returns the first value (X position) in the position list:

Code:
x_pos = avatar.getPosition()[0]
Reply With Quote