That worked Chad, thank you.  The problem was that I am stupid.  I was
writing this before

import pymel.core as pm

but I was not putting the pm in front of the nt.Camera.

Thanks again.

Travis

On Tue, Apr 13, 2010 at 7:16 PM, Chad Dombrova <[email protected]> wrote:

> can you write out the exact commands you are using.  does this work for
> you:
>
> from pymel.core import *
> help(nt.Camera)
>
> -chad
>
>
>
> On Tue, Apr 13, 2010 at 2:12 PM, Travis Barber <[email protected]>wrote:
>
>> I am using Maya2011 and have installed the latest version of pyMel.  In
>> the script editor if I try to run the help command on any pymel node class,
>> like help(nt.Camera) I get
>>
>> # Error: NameError: name 'nt' is not defined #
>>
>> I was able to do this with no problems when I was using 2010, maybe I am
>> missing something obvious.  I am a bit of a noob at this.
>>
>>
>> Travis
>>
>> --
>> http://groups.google.com/group/python_inside_maya
>>
>
>  --
> http://groups.google.com/group/python_inside_maya
>

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to