Subject: Forcing absolute paths 2005-07-05 - By kim aldis
Back 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
|
|