WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 05-11-2005, 04:40 PM
vr_boyko vr_boyko is offline
Member
 
Join Date: Sep 2004
Posts: 19
Adding to Vizard's search path

I would like to add certain (networked) directories to the default vizard search path so that new animations and textures can be used by all programmers on all machines in the lab. How could I do that?
Reply With Quote
  #2  
Old 05-11-2005, 05:35 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

For each computer create an environment variable named OSG_FILE_PATH. Set the value of the environment variable to the your network path. If you have more than one path, separate them by semicolons.

To add an environment variable, right click on My Computer on the desktop. Click Properties. Click on the Advanced tab. Click on the Environment Variables button at the bottom. Under the System variables section click the New button. For the Variable name enter OSG_FILE_PATH. For the Variable value enter the name of your network path.
Reply With Quote
  #3  
Old 05-19-2005, 07:22 PM
vadrian vadrian is offline
Member
 
Join Date: Sep 2004
Posts: 32
I believe you can also do this
Code:
import sys
sys.path.append('/path/to/folder/')
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 05:24 AM.


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