Python 's list comprehension in XSI 2005-03-28 - By Bernard Lebel
Back Hum, I'm pretty sure I do have Python as my scripting langage ;-)
Still, it seems to be working fine now... somehow XSI must have known I was getting irritated, it feared uninstallation and registry cleaning... >8^|
Salut Bernard
Aloys Baillet wrote: > Salut Bernard, > > Sorry, but your code is correct! I don't get any syntax error message... > Have you checked that you have selected the Python language in the > preferences;)? > > > Application.CreatePrim("Sphere", "MeshSurface", "", "") > oObj = Application.Selection(0) > aObjParams = [ str(oParam.name) for oParam in oObj.Parameters ] > Application.LogMessage( str( aObjParams ) ) > > > Cheers,
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|