This sounds a lot like what the SDK Explorer does.
View>Scripting>SDKExplorer
I haven't looked through it extensively, but maybe this might be a place
to start:
YourDrive\Softimage\XSI_6.5\Addons\sdkui\Application\Plugins\SDKExplorer
.js
_rob
> -----Original Message-----
> From: Ponthieux, Joey [mailto:j.ponthieux(at)nasa.gov]
> Sent: January 2, 2008 2:31 PM
> To: XSI(at)Softimage.COM
> Subject: Scripting: How to query available Objects?
>
> Hello,
> I am wondering if it is possible to query the available
> Objects relative to another object? I'm looking for something
> similar to
> classname() but what I want is something that will return all
> available Methods or Properties available to the current
> Object. Say for example I have an XSICollection oColl1, it
> possesses a reference to a CollectionItem which in turn
> possesses a SubComponent, etc, etc. I am looking for a
> command which will list available Objects(Method,Properties
> etc) to the current object, so in this case I want to know
> what is available to oColl1, or at least oColl1(0).
> Assuming of course that this is say a collection of points,
> it would possess other Objects such as SubComponent,
> SubElements, etc. I want to list these available objects
> directly from the script editor rather than having to look
> them up in the manual. In other words I want to list
> everything that will plug into
>
> oColl(0).?
>
> Since this is a CollectionItem which would ultimately posses
> a PointCollection then SubComponent and SubElements, among
> others are available to it, once I know that SubComponent is
> available I want to list everything under
>
> oColl(0).SubComponent.?
>
> and so on. I've tried NestedObjects that does not seem to do
> what I want. PropertyCollection only seems to refer to
> properties available to the X3DObject and the like. Stuff
> like parameters etc such as kine.local.posx etc and not the
> Object Model properties or Methods. Or maybe I don't quite
> understand how to use Property or PropertyCollection here.
> Anyway, if anyone has some insight to this it would be appreciated.
>
>
>
>
> --
> Joey Ponthieux
> NCI Information Systems Inc.
> NASA Langley Research Center
> ____________________________________________________________
> Opinions stated here-in are strictly those of the author and
> do not represent the opinions of NASA or any other party.
>
> ---
> 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