Thanks for testing with maya.cmds as well marcus :)

I guess we have to go with the renaming workaround, but it would be 
interesting to find out why this is!

// Johan



On Thursday, March 5, 2015 at 6:37:31 PM UTC+1, Marcus Ottosson wrote:
>
> I had a good look at this, and it looks to be quite the interesting quirk. 
> :)
>
> Here’s the same problem in maya.cmds.
>
> from maya import cmds
> for x in range(2):
>     grp = cmds.group(em=True)
>     t = cmds.polySphere(n='test')[0]
>     assert isinstance(grp, unicode)
>     assert isinstance(t, unicode)
>     cmds.parent(t, grp)
>
> Merely replacing polySphere with spaceLocator causes the error for me in 
> Maya 2015, and I have no idea why.
>
> Good find!
> ​
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/e2d9d455-b240-4bd9-884b-5824d484663d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to