WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-09-2009, 09:12 AM
GiudiceLab GiudiceLab is offline
Member
 
Join Date: May 2009
Location: Orono, ME
Posts: 49
Vizcore.cfg - help with syntax

As I mentioned in the previous post, our lab is getting bigger and we are making a push to organize our code development. One of the things we are working on is a central network folder for resources. We can add this folder to any script using
Code:
viz.res.addPath('//rootname/foldername/Components/resources')
and it works fine, but we want to create a config file that will do this automatically, and just copy it to our development computers. I see in the configuration basics documentation that I can use something like
Code:
viz.resource.path('//rootname/foldername/Components/resources')
but I can't get it to work, and I'm guessing it is a syntax error of some sort. Can someone tell me what the correct syntax is? Also, is it possible to use sys.path.append or some equivalent in the config file as well, so that we can drop Python libraries on the network too, without having to reconfigure each Python? Thanks in advance once again.
__________________
Virtual Environments and Multimodal Interaction (VEMI) Lab

This time, it should work...
Reply With Quote
 

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 07:12 AM.


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