WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 10-09-2014, 06:03 AM
BSUGeek BSUGeek is offline
Member
 
Join Date: Oct 2014
Posts: 23
Question Vizard export to xml file

I'm creating a program that receives the data from the timer and the avatar position. I was wondering is there a way to export that data into an xml file and change the timer format to output MM:SS instead of seconds and milliseconds? and for the avatar can you just get the X position instead of the full x,y,z position?
Reply With Quote
  #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
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vizard .exe file doesn't load (Vizard 3) Saule Vizard 4 02-05-2014 06:01 AM
Interaction of vizard objects with an imported obj file sunil.nair Vizard 2 10-09-2013 02:08 PM
Vizard tech tip: Using the Python Imaging Library (PIL) Jeff Vizard 0 03-23-2009 11:13 AM
Export from 3Ds Max to Vizard pattie Vizard 5 08-26-2006 11:20 AM
female skeleton CSF file needed to export to CAF format vmonkey Vizard 1 10-04-2005 10:15 AM


All times are GMT -7. The time now is 12:52 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC