WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Adding to Vizard's search path (https://forum.worldviz.com/showthread.php?t=345)

vr_boyko 05-11-2005 04:40 PM

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?

farshizzo 05-11-2005 05:35 PM

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.

vadrian 05-19-2005 07:22 PM

I believe you can also do this
Code:

import sys
sys.path.append('/path/to/folder/')



All times are GMT -7. The time now is 04:00 AM.

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