Hi everybody!
Since I still miss my first cup of coffee this morning, anyone having a
quick suggestion how to access the scenes' Image Sources list through
the object model?
My current attempt looks as nasty as this:
var oImages = new ActiveXObject("XSI.Collection");
oImages.AddItems("Sources.Image.*");
The problem is, I collect all sorts of garbage this way in case there
are no image sources at all in the scene... (see below for the
collections' contents in such a case):
//INFO : Scene.Sources.Audio
//INFO : Scene.Sources.Animation
//INFO : Scene.Sources.Model
//INFO : Sources.Materials
Many thanks in advance for a quick hint! Cheers!
-André
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi