The following forum message was posted by bntheman at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4093124:
... continued. My problem is that I had code completion working, and I could not get Eclipse to run my script. When I had tried to run the script, and tried creating a new polygon plane, I was getting a nonetype error when the next line of code was to print out the returned results of the newly created polygon plane. I then realized that when runnin the script, Eclipse was importing Maya's code completion stubs as opposed to using from Maya's site-package folder, and the odd part about it is that I positively know that Maya's site-package folder is included at the end of the list in the system pythonpath. However, I still went and added in the external's system library, which fixed the runtime error, but now I get an undefined variable import polyPlane when i type.... cmds.polyPlane(...). So pretty much now I'm having troubles with code completion. Does anybody have any ideas on fixing this? BTW... I am running Eclipse 3.6.3, Python 2.5.1, and Windows XP 32bit ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Pydev-users mailing list Pydev-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-users