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

Date : Mon, 2 Apr 2007 15:42:09 +0200
To : Bernard Lebel <XSI(at)Softimage.COM>
From : Frank Lenhard <franky(at)ixdream.com>
Subject : Re[4]: scripting: getting the whole property list of an object
see the attachement. i hope it can explain better than my words.
thanks for looking at it! and i installed python just for the sake of
being able to execute python scripts. i have no clue about it and
scripting with it at all :/ sigh....



ciao
franky


Monday, April 2, 2007, 1:19:49 PM, you wrote:

BL> What version are you using? Someone on XSI Base (perhaps it was you?)
BL> reported that Python was gone from the list of languages in XSI 6.01.

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

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


BL> Cheers
BL> Bernard




BL> 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
>>
BL> ---
BL> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
BL> unsubscribe xsi

Attachment: python error.jpg
Description: JPEG image


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.