Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Subject: Cameras
Subject: scaleDown command
Subject: black out solved
Subject: Aircraft Tutorial
Subject: Mathematical XYZ ?
Subject: Re: Its done This vs That
Subject: Re: Its done first week
recommendations for screen video captures?
Subject: 3DExplorer "Oddity "
Subject: Re: New Director
Subject: ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
Subject: RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Subject: Re: Texturing
Big Break Contest Videos
Subject: New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Subject: Plasma?
Looking for Inspiration
Subject: Weird EMail Q
Subject: Re: It 's done first week ?
Subject: Cherry not cranberry
Subject: Re: New game
Camera Animation Problem
Subject: Particle plugins?
 
Subject: Forcing absolute paths

Subject: Forcing absolute paths

2005-07-06       - By kim aldis

 Back
Reply:     1     2     3     4     5     6     7     8     9     10  

it's surprisingly difficult to work out if a path is valid and exists or if
it's just a local path. Especially with windows. It can be done but it's
messy. Python, luckily, will make life easier for you.

> -- --Original Message-- --
> From: owner-xsi@(protected)
> [mailto:owner-xsi@(protected)] On Behalf Of Bernard Lebel
> Sent: 05 July 2005 23:16
> To: XSI@(protected)
> Subject: Re: Forcing absolute paths
>
> 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
>
>

---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi