Setting Custom Environment Variables 2005-06-16 - By Matthias Worch
Back Unfortunately I can't remap drives on my work machine without a whole lot of trouble, so storing a string with the pathname would be the cleanest solution.
XSI does have the concept of an %appdir (or something similar, can't find any documentation right now), right? Could that be extended?
-- Matthias Worch http://www.langsuyar.com
AS> A very simple approach would be to use a subst drive, AS> e.g. "Y:". Each machine might have a different definition of AS> where Y: is, but if you always refer to it as Y: from within XSI, AS> it could work.
AS> -Andrew
AS> -- --Original Message-- -- AS> From: owner-xsi@(protected) AS> [mailto:owner-xsi@(protected)]On Behalf AS> Of Matthias Worch AS> Posted At: Thursday, June 16, 2005 2:15 PM AS> Posted To: xsi AS> Conversation: Setting Custom Environment Variables AS> Subject: Setting Custom Environment Variables
AS> At least that's what I think I want. I'm looking for a way to set a AS> variable that stores part of a system path. I frequently transfer data AS> between computers, and various assets (such as my custom noIcon.pic) AS> are saved in different locations and can't be resolved on one computer AS> or the other. AS> I'd like to create a variable that can be part of the pathname. So AS> assign $NOICON to c:\foo and then set the path inside XSI to AS> $NOICON\rsrc\noIcon.pic. Obviously $NOICON would point to a different AS> directory on other computers.
AS> Is this possible? I could imagine writing a script that resolves AS> pathnames of a scene when it is opened, but is there an easier way? I AS> dug through the "data management" section of the reference docs, but AS> nothing there seems to provide me what I need. My computers are not AS> part of the same network, so AFAIK workgroups don't...well, work.
AS> -- AS> Matthias Worch AS> http://www.langsuyar.com
AS> --- AS> Unsubscribe? Mail Majordomo@(protected) with the following text in body: AS> unsubscribe xsi
AS> --- AS> Unsubscribe? Mail Majordomo@(protected) with the following text in body: AS> unsubscribe xsi
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|