WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-26-2009, 12:00 PM
ginaty ginaty is offline
Member
 
Join Date: Feb 2009
Posts: 2
Can Vizard export data in XML format

I want to use Vizard to develop some educational virtual reality games. In such games, students are expected to conduct some designs that need the third party software to validate. I wonder if Vizard has the ability to retrieve students' design (some code writing in text) out of the games in some metadata format (e.g., XML)?
Reply With Quote
  #2  
Old 02-26-2009, 12:13 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Vizard uses Python for scripting, and Python comes with many modules for parsing various text formats, including XML. The Python documentation that comes with Vizard contains documentation on the xml module with sample code.
Reply With Quote
  #3  
Old 02-26-2009, 12:53 PM
ginaty ginaty is offline
Member
 
Join Date: Feb 2009
Posts: 2
Thanks for your quick response. I just want to make sure I did not misunderstand you. i do not want export some XML data into Vizard. Instead, I would like to export data out of the Vizard game and valid the data using the third party software. I hope the data being extracted out is in XML format. Can you confirm that the python in Vizard can export some data out of the Vizard game in XML format?
Reply With Quote
  #4  
Old 02-26-2009, 02:54 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
XML is a text-based file format, and Python supports writing text to files, so this is easily possible with Vizard. There are a few file i/o examples in the Vizard docs which show how to write data to a file. Let me know if you need more specific examples.
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
Access to Geometry Data in a c++ plugin for vizard. xabbu Plug-in development 1 01-16-2009 03:14 PM
Export from 3Ds Max to Vizard pattie Vizard 5 08-26-2006 11:20 AM
PPT UDP data format MiamiTodd Precision Position Tracker (PPT) 20 04-10-2006 12:36 PM
female skeleton CSF file needed to export to CAF format vmonkey Vizard 1 10-04-2005 10:15 AM
Vizard & USB 5DT Data Glove rdotsch Vizard 4 07-26-2005 04:35 AM


All times are GMT -7. The time now is 07:35 PM.


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