Re: Scripting: How to query available Objects?
| Date : Wed, 02 Jan 2008 15:17:42 -0500 |
| To : XSI(at)Softimage.COM |
| From : "Ponthieux, Joey" <j.ponthieux(at)nasa.gov> |
| Subject : Re: Scripting: How to query available Objects? |
Is that specific to only Python? I don't have Python installed at the moment and I don't know the language yet. Is there any reason why it could not be written in JScript or does Python expose stuff not available to the other languages? I assume you're gonna tell me it's time to learn Python? :)
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.
Stephen Blair wrote:
http://softimage.wiki.avid.com/index.php/Python_%28XSISDK%29#Python_Intr ospection
-----Original Message----- From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Ponthieux, Joey Sent: Wed 02 January 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
--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi
- Follow-Ups:
- RE: Scripting: How to query available Objects?
- From: "Stephen Blair" <Stephen_Blair(at)Softimage.COM>
- RE: Scripting: How to query available Objects?
- References:
- Scripting: How to query available Objects?
- From: "Ponthieux, Joey" <j.ponthieux(at)nasa.gov>
- RE: Scripting: How to query available Objects?
- From: "Stephen Blair" <Stephen_Blair(at)Softimage.COM>
- Scripting: How to query available Objects?
| Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available. |