Hello there,
A really basic question... maybe?
I need to get the list of models under any given X3DObject, but NOT the recursive list: just the direct children.
The X3DObject.Models property accepts a Recursive argument (thanks Bill for this great feature: properties with arguments...).
In JScript, it's quite easy:
var models = myX3D.Models(false)
will return the good list.
Unfortunately in Python,
models = myX3D.Models(False)
returns the first item of the recursive list (False being evaluated as 0, and the recursive list being always returned)!
Any great, simple and clean idea anyone?
Cheers,
Aloys
--
Aloys Baillet - XSI Technical Director
Character Dpt - Animal Logic
--