With Python I have noticed to be a bit more picky with parameters. In
e.g. if you run a loop to return the name of all the parameters under a
given object, lets say a Pass object, all you'll get is a Name
Parameter. To access RenderOptions or Partition data, you actually have
to use the NestedObjects Property. So this might be what your actually
looking for.
Greg
On Wed, 2006-08-30 at 16:49 -0700, Steven Caron wrote:
> I am having a ton of trouble with the .Parameters method...
>
> is this usually the case? some command will return an object that has
> parameters and i cant retrieve them like i expect. i should be able to
> get a parameters collection with the .Parameters method
>
> any advice?
> steven
>
>
> On 8/27/06, Aloys Baillet <aloys.baillet(at)gmail.com> wrote:
> Hi Steven,
>
> I think this was to make XSI developpers life easier, not
> yours!
> None, True and False are the standard python kewords
> equivalent to JScript's null, true and false (notice the
> Capitalization!)...
> For the module import, global scope is highly recommended.
> Here are Guido VR guide lines for developping Python, in
> python. I find this is a good starting point to see what is
> "good" or "bad"...
> http://www.python.org/dev/peps/pep-0008/
>
> Cheers,
>
>
> Aloys
>
>
> On 8/27/06, Steven Caron <carons(at)gmail.com> wrote:
> could someone point out to me the reason the new
> command wizard for python, has...?
>
> null = None
> false = 0
> true = 1
>
> is this purely to make it easy for me? does python not
> understand true and false as 1 and 0 automatically?
>
> also should i put my module imports outside my
> function's scope? there is your typical
> win32com.client imports being called at the top of the
> generated code. should i go ahead and put my xml
> parser module up there? or should i keep it in my
> function's scope?
>
> btw i am having more fun now
>
>
> steven
>
>
>
>
>
> --
> Aloys Baillet - XSI Technical Director
> Character Dpt - Animal Logic
> --
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi