hey thirstydevil,

> So far it's a huge
> improvement, except for the docs, but I know they are changing,  Guess
> I'm used to the mel docs.

can you elaborate on what you don't like about the docs so we can work  
to improve them?  are you using the docs that came with 0.9.1 or the  
docs from 0.9.0?  we changed doc format between these releases, but  
the old-style docs are still here:  
http://pymel.googlecode.com/svn/docs/index.html

>
> Keep up the good work.
>
> However, I would expect this to work?  Wondering why it's not?
>
> CGFXNode = pm.PyNode("MSC_Lamps_cgfx")
> if CGFXNode.name() == "MSC_Lamps_cgfx":
>       CGFXNode.rename(CGFXNode.nextUniqueName())

it seems nextUniqueName only works if the name ends with a number:

p = PyNode('pSphere1')
p.nextUniqueName()
# Result: pSphere2 #

i see what you're trying to do and i think it should work, too.  i'll  
get this fixed up for 0.9.2

-chad




>
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to