Yep. It looks like you probably did some kind of "*" import, and brought a
bunch of symbols from the maya module into your root namespace. Do you
happen to have code like this?

from maya.app import *

If so, don't do that. Do something like:

import maya.app as m_app

Or some variation of a symbol that doesn't clash with others that you use.
Then you should be able to access all the symbols in that one and avoid
namespace clashes.


On Mon, Sep 28, 2015 at 3:13 PM Bryan Silva <[email protected]>
wrote:

> when I print type I get the following:
>
> <module 'maya.app.type.AEtypeTemplate' from 'C:\Program
> Files\Autodesk\Maya2017\Python\lib\site-packages\maya\app\type\AEtypeTemplate.py'>
>
> --
> 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/872a4080-dca5-4eea-ae68-fc801d0e9762%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/872a4080-dca5-4eea-ae68-fc801d0e9762%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAPGFgA2zKDgzC1Bf1PzvurA4PeAbPBHvohgD0oBJHuaJzVQn%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to