WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-25-2003, 12:31 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi Andy,

I just wanted to update you on a new feature of vizard.
You can now pass arguments to a script from the command line.
For example if you wanted to specify an input and output file you would do the following:

>"C:\...\Vizard.exe" myscript.py -r -a in.dat out.dat

Then in your vizard script you would read in the arguments through the variable 'viz.args', which is a list of strings. In the example above, viz.args would be ['in.dat','out.dat']

-- farshid
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 08:29 AM.


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