Re: Kill noIcon!

Date : Fri, 4 May 2007 18:08:07 +0200
To : XSI(at)Softimage.COM
From : Guillaume Laforge <guillaume(at)alamaison.fr>
Subject : Re: Kill noIcon!
Maybe something like this : 

var KillMeIfYouCan = CreateImageClip(Application.InstallationPath(siFactoryPath) +"/Application/rsrc/noIcon.pic", "LaLa");

//--------------
var changeFile = Application.InstallationPath(siFactoryPath) +"/Data/XSI_SAMPLES/Pictures/b.bmp" ;

KillMeIfYouCan.parameters("SourceFileName").value = changeFile ;

DeleteObj(KillMeIfYouCan);

LogMessage("killed !");
//--------------

1/2

--
Guillaume Laforge | La Maison



On Fri, 4 May 2007 17:39:57 +0200, "Ahmidou Lyazidi" <ahmidou.xsi(at)gmail.com> wrote:
> same here
> 
> 2007/5/4, Bernard Lebel <3dbernard(at)gmail.com>:
>>
>> Yep, it's always been the case for me as well....
>>
>> Bernard
>>
>>
>>
>> On 5/4/07, Andrà Adam <a_adam(at)49games.de> wrote:
>> > The problem is I can't seem to delete unused noIcon pics. Not through
>> > the interface and not using scripting. Give it a try:
>> >
>> > var KillMeIfYouCan =
>> > CreateImageClip(Application.InstallationPath(siFactoryPath) +
>> > "/Application/rsrc/noIcon.pic", "LaLa");
>> > DeleteObj(KillMeIfYouCan);
>> > LogMessage("Still alive! : " + KillMeIfYouCan.FullName);
>> >
>> >
>> > Kim Aldis wrote:
>> > > An on scene load event that chucks out unused clips?
>> > >
>> > >
>> > >> -----Original Message-----
>> > >> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On
>> > >> Behalf Of Andrà Adam
>> > >> Sent: 04 May 2007 15:50
>> > >> To: XSI(at)Softimage.COM
>> > >> Subject: Re: Kill noIcon!
>> > >>
>> > >> We have heavy object libraries around which contain data up to four
>> > >> years old and which are always in the flow, adding and removing
> items
>> > >> for certain projects. I'd say we never had the slightest chance to
>> > >> avoid
>> > >> tens or hundreds of noIcon instances to pile up. Now I'm looking
> for
>> a
>> > >> decent way of consolidating. I'm really fine with a single
>> source/clip
>> > >> pair kept by the scene, it's all the other garbage I want to
> delete.
>> > >> And
>> > >> I can't do so, even if I disconnect every single instance from any
>> > >> shader and data-whatsoever-container under the hood of the render
>> tree.
>> > >>
>> > >>     -AndrÃ
>> > >>
>> > >>
>> > >> Andreas Bystrom wrote:
>> > >>
>> > >>> well they are system clips, just like the scene_material is a
> system
>> > >>> material..
>> > >>>
>> > >>> if you are a bit careful when working you should only have one of
>> > >>> those clips in a scene..
>> > >>>
>> > >>>
>> > >>>
>> > >>> On 5/4/07, Andrà Adam <a_adam(at)49games.de> wrote:
>> > >>>
>> > >>>> Heya,
>> > >>>>
>> > >>>> why is it absolutely impossible to delete sources and clips which
>> > >>>> reference the noIcon picture??? They pile up to the sky in our
>> > >>>> libraries. I want them dead. Now. Except for a single one
> perhaps.
>> > >>>> Anyone found the trigger? ;)
>> > >>>>
>> > >>>>     -AndrÃ
>> >
>> > ---
>> > 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

  • References:

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.