Yes… otherwise I think it would have bombed upon importing maya.cmds…

On Apr 24, 2013, at 11:56 PM, Diana Chacha <[email protected]> wrote:

> I will try that, but it was working find before. Did you run it in maya?
> 
> 
> On Wed, Apr 24, 2013 at 8:41 PM, [email protected] <[email protected]> wrote:
> If I paste this code into my console, I don't get an error.
> 
> perhaps you have accidentally modified the "cmds" module in memory. Maybe 
> you've set a function to a list.
> 
> -brad
> 
> 
> 
> On Apr 24, 2013, at 11:26 PM, Diana Chacha <[email protected]> wrote:
> 
>> import maya.cmds as cmds
>> 
>> def main():
>>    root_LOC=cmds.spaceLocator (n = 'root_LOC', r = 2)
>>    cmds.move (0, 18.485, -2.815, 'root_LOC', relative=True)
>>    print root_LOC
>>    root_JNT=cmds.joint (n = 'root_JNT', r = 2)
>>    cmds.move (0, 18.485, -2.815, 'root_JNT', worldSpace=True)
>>    print root_JNT
>>    root_CTL=cmds.circle(n = 'root_CTL', r = 2)
>>    cmds.move (0, 18.485, -2.815, 'root_CTL',objectSpace=True, relative=True)
>>    print root_CTL
>> 
>> main()
> 
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Python Programming for Autodesk Maya" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/python_inside_maya/kC3e3AYx214/unsubscribe?hl=en-US.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
> 
> 
> -- 
> 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 post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to