How to write a module for maya , like pymel?
I did some research today on pymel more deeply.Have been using it now for like a month maybe and it it awesome.
There is a folder pymel in the site-packages folder in maya's install folder,and then the python one and so on.
Now if i change this name to else and then try
from pymel import *
it does not work.So let's say i create a folder there in the same place as pymel , for example MyModule.And then i write some functions and save it there as py files.Then when i say from MyModule import * it shows errors.
So the question is what should i do to make this work? Not much as you see,just a folder and some stupid simple python files in it.
I read the core file for pymel today and i saw it has some pretty frickin sweeet improvings of maya's default commands.If you are maya programmer,you gota have pymel.
That core file contains lot of python procedures,or methods,as you wish, and in the begining there are the usual import sys,os,re and of course getpass and all the maya stuff and some other custom stuff Chad has.
So yeah that would be the first but great step to learn how to connect a simple module in maya.
Thanks guys,take care and sorry for the stupid question but hey man gota start somewhere