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

Date : Mon, 2 Apr 2007 17:09:26 +0200
To : Stephen Blair <XSI(at)Softimage.COM>
From : Frank Lenhard <franky(at)ixdream.com>
Subject : Re[6]: scripting: getting the whole property list of an object
if i do that i get the next error at line5, if i delete that on i get
the next syntax error at dict=() .... i am sorry to bother you guys,
but i have no idea where to go else... in vb i could figure it out
somehow, but python is like chinese to me...


ciao
franky


Monday, April 2, 2007, 3:40:42 PM, you wrote:

SB> Remove the period (.) at the end of the first line of your script.


SB> -----Original Message-----
SB> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf
SB> Of Frank Lenhard
SB> Sent: Mon 02 April 2007 9:42 AM
SB> To: Bernard Lebel
SB> Subject: Re[4]: scripting: getting the whole property list of an object

SB> see the attachement. i hope it can explain better than my words.
SB> thanks for looking at it! and i installed python just for the sake of
SB> being able to execute python scripts. i have no clue about it and
SB> scripting with it at all :/ sigh....



SB> ciao
SB> franky


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

BL>> What version are you using? Someone on XSI Base (perhaps it was 
BL>> you?) reported that Python was gone from the list of languages in
SB> 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
SB> in body:
>>> BL> unsubscribe xsi
>>>
>>>
>>> ---
>>> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
SB> body:
>>> unsubscribe xsi
>>>
BL>> ---
BL>> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
SB> body:
BL>> unsubscribe xsi

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