Re: empty reference model

Date : Wed, 10 May 2006 10:30:44 +0200
To : XSI(at)Softimage.COM
From : Sascha Robitzki <s.robitzki(at)trixter.de>
Subject : Re: empty reference model
Thanks for the explanation. Now I know it's a feature I can live with it. :)

Sascha

Aloys Baillet wrote:
Hi Sascha,

It's not a refresh issue, it's a "feature" of the referenced models: XSI actually replace the model by another model clip instance each time to change resolution: the model is destroyed and a new one is created instead.
The only objects that survive a referenced model resolution change are the ModelSource object and the model clips, and that's not really useful in your case.


Your script will have to look like
       ImportModel "X:\referenceModel.emdl", , true, oRefModel
       set name = oRefModel.Name
       SetResolutionOfRefModels oRefModel, 0
       oRefModel = ActiveSceneRoot.Models(name)

Hope this helps,

Aloys

On 5/10/06, *Bernard Lebel* <3dbernard(at)gmail.com <mailto:3dbernard(at)gmail.com>> wrote:

    Well that's quite similar to what happens to shaders shader you
    disconnect parameter sources (connected shader). Perhaps it is a
    refresh issue? But it sure doesn't sound as the expected behavior.


Bernard


On 5/9/06, Sascha Robitzki <s.robitzki(at)trixter.de <mailto:s.robitzki(at)trixter.de>> wrote: > That is exactly what I meant, it's a scripting question. I have a > moderate workaround for it. I was just a little confused because of the > broken link between the variable and the object and wanted to check if > I'm missing something of if this is really the default behavior. > Makes this really sense? In my opinion it's bug and I would prefer the > behavior I'm expecting. > > Thanks, > Sascha

    ---
    Unsubscribe? Mail Majordomo(at)Softimage.COM
    <mailto:Majordomo(at)Softimage.COM> with the following text in body:
    unsubscribe xsi




-- Aloys Baillet - XSI Technical Director Character Dpt - Animal Logic --


--
Sascha Robitzki
TD (at) www.trixter.de

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.