Thanks Adam.
I think I have found something disturbing.
When I check in the File > Source Paths page, I can see the File Path
parameter is set correctly. However, in the model ppg as well as when
I run script to log the names, they are all wrong (it's a UNC vs
mapped drive thing, both locations are actually valid).
Yet another unsolvable path mess thing....
Bernard
On 7/8/05, Adam Ferrall <aferrall(at)omation.com> wrote:
> Hey Bernard,
>
> We do this all the time in scripting so I know it's possible. Either by
> getting the "model_clip" and the "source" object for the referenced model
> and settings its "lowres_path", etc parameters or by using the SetValue
> command that comes up in the script editor when you change a model
> resolution through the UI. The only weirdness I've run across is when
> trying to empty a path. You can't assign the empty string through the
> SetValue or the object model because XSI converts this to null before it
> runs the command. If you assign the empty string to a variable and assign
> it through the object model, however, the path value is changed correctly.
> Hope this helps.
>
> -Adam
>
> ----- Original Message -----
> From: "Bernard Lebel" <3dbernard(at)gmail.com>
> To: <XSI(at)Softimage.COM>
> Sent: Friday, July 08, 2005 12:52 PM
> Subject: [script] Changing reference model source paths
>
>
> > Hello,
> >
> > Changing the "Filenames for Model Resolutions" works fine with done in
> > the interface, ie by typhing the new path in the text field.
> >
> > Now, I run the same command it has generated, and nothing happens! The
> > path remains the same, no matter what! So it is possible *at all* to
> > change ref model source paths in scripting?
> >
> >
> > Thanks
> > Bernard
> >
> > ---
> > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> > unsubscribe xsi
> >
>
>
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
> unsubscribe xsi
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi