WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-13-2005, 06:04 AM
exhale exhale is offline
Member
 
Join Date: Feb 2005
Posts: 19
multiple stages

Hello,

i've made a few hundred stages in vizard, all using the same objects, with some differences in functionality. I could merge the functionality in 1 file, but that leaves me with loads of coordinates.

Now my first thing i'm thinking about is, would it be possible to load different .viz files within the same .py file. So for example the first program is completed, would it be possible to load another .viz file so the objects in the scene are placed according to the new coordinates?

Or would i have to parse the coordinates myself using something in a python module? (so for example i run through a first stage, when it's finished i read the coordinates from a file and .translate() everything to where it should be.

greets,

Kevin
Reply With Quote
  #2  
Old 05-13-2005, 10:51 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

I have a script which parses a .viz file and extracts all objects along with their position,rotation, and scale. For this to work for you, all the object names have to be the same in all the .viz files. Send me an email at lashkari@worldviz.com and I'll supply you with this sample script.
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


All times are GMT -7. The time now is 01:25 AM.


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