Re: Re[2]: scripting: getting the whole property list of an object

Date : Mon, 2 Apr 2007 06:19:49 -0500
To : XSI(at)Softimage.COM
From : "Bernard Lebel" <3dbernard(at)gmail.com>
Subject : Re: Re[2]: scripting: getting the whole property list of an object
What version are you using? Someone on XSI Base (perhaps it was you?)
reported that Python was gone from the list of languages in XSI 6.01.

As for the error, it's really hard to tell without seeing.

For the contextual menu, the languages *should* be there as of XSI
5.0. However sometimes, for some mysterious reason, they no longer
show up in the menu (until you restart XSI).


Cheers Bernard




On 4/2/07, Frank Lenhard <franky(at)ixdream.com> wrote:
thanks bernard!
however, the script doesnt wanna run and i suspect that my python
setup is not right. i once installed it and i have it available in the
preferences of the script editor.
but when i try to run the script (f5) it just gives me syntax errors
in each line.
then, i dunno how to replicate this, i clicked right in the script
editor and the context menue gave me the script languages to choose
from (vbasic, jscript) and python was greyed out there. but then, i
never saw this context menue again, because usually it doesnt show the
scripting languages.
sigh, it sounds really good because it gives me everything that is
accessable on a object not just the properties.

i might try to replicate it in vbasic (thats what i know a little) but
in general... getting started with scripting in xsi is everything but
easy.

ciao
franky


Sunday, April 1, 2007, 11:09:05 PM, you wrote:

BL> If you're a Python user, check this out:
BL> http://www.xsi-blog.com/archives/19

BL> Also, the SDK Explorer is your friend :-)


BL> Cheers BL> Bernard




BL> On 4/1/07, Frank Lenhard <frank.lenhard(at)gmail.com> wrote: >> i am sorry if this is totally obvious and beginners stuff (that what i am >> anyhow to scripting) but: >> >> how can logmessage all properties that exist on a object, so i can change >> them later using the object model? >> i need the syntax to access stuff like visibility, position, null shapes >> etc. >> i find some stuff for dedicated objects like nulls and others, but in >> general i would like to select a object and get a list with all available >> properties. >> >> >> thanks a lot >> ciao >> franky >> >> BL> --- BL> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: BL> 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


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.