Re: [script] Converting an XSICollection to an X3DObjectCollection (found it)

Date : Thu, 29 Nov 2007 11:49:44 -0500
To : XSI(at)Softimage.COM
From : Francois Lord <xsilist(at)francoislord.com>
Subject : Re: [script] Converting an XSICollection to an X3DObjectCollection (found it)
python:
oX3DColl = xsi.ActiveSceneRoot.FindChildren("{%s}" % oXSIColl.GetAsText() , "", None, True)


Curly brackets was the key.

Francois Lord wrote:
What would be the most efficient way to convert an XSICollection to an
X3DObjectCollection?
I have an XSICollection inside a command with an argument handler and I
need to filter that collection. It looks trivial at first, but I haven't
found a pleasing way to do it.

Thanks.
---
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


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.