Hi,

In an effort to make pymel code completion work in Komodo IDE, I did a
small hack, inspired by this tutorial on highend:
http://highend3d.com/maya/tutorials/using_tools_scripts/367-2.html

So instead of just importing pymel like this:
import pymel as pm

I made a module "my_pymel.py" with this code:
from pymel.core import *
from pymel.ctx import *
from pymel.io import *
from pymel.node import *
from pymel.path import *
from pymel.scene import *
from pymel.vector import *

When I want to use pymel, I then go:
import my_pymel as pm
code using pm.

This gives me working code completion in komodo, the sole reason for
this hack. My worry is that this somehow messes with pymel, in
relation to evaluating these scripts in Maya.

Any thoughts?
Thanks

--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to