Subject: Forcing absolute paths 2005-07-05 - By Bernard Lebel
Back Thanks for the tips, Kim.
Well, that's a bit of a problem. The reason is I'm trying to force UNC paths for every image sources, as the first step of getting rid of mounted drives from the pipeline. To do this, I have two events that will rebuild the path from scratch if it finds out it's not an UNC path.
This is what it used to do, until I found out the script would rebuild relative paths as well! I modified my script to consider only paths that use a ":" as the second path character.
But I'd still like to be able to force those UNC paths.
Cheers Bernard
On 7/5/05, kim aldis <kim@(protected)> wrote: > Don't get me started. > > I'd like confirmation from soft but I think that the absolute/relative thing > is just a view thing. Switching from one to the other in the interface > doesn't actually change anything internally, it just changes what you see. > > For textures I'm not sure but I'v wrestled with this one for output files > because I've always wanted to check the validity of output paths. There's no > easy way of doing it. The renderoptions property has two fields for output; > the one you normally change plus one that's supposed to hold the full path > but this is unreliable and often only holds the relative path. It's a mess. > > What I'd do is use Python to try and reconstruct the path from the filenam > and the project path then check if it exists. It's messy, whichever way you > look at it. > > > -- --Original Message-- -- > > From: owner-xsi@(protected) > > [mailto:owner-xsi@(protected)] On Behalf Of Bernard Lebel > > Sent: 05 July 2005 18:22 > > To: XSI@(protected) > > Subject: Forcing absolute paths > > > > Hello, > > > > Is there a way to enforce absolute paths? It seems that when > > I load a scene from a project that uses models in the Models > > directory, XSI automatically switches to relative paths. > > > > As a side note, is there a way to find out if a path is > > currently relative/absolute scripting-wise? > > > > > > Thanks > > Bernard > > > > --- > > Unsubscribe? Mail Majordomo@(protected) with the following > > text in body: > > unsubscribe xsi > > > > > > --- > Unsubscribe? Mail Majordomo@(protected) with the following text in body: > unsubscribe xsi >
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|