As for wingapi I had to acknowledge that it refers to wing`s internal work and cannot be imported inside the IDE, though we are free to use our custom scripts(placed in wing`s scripts dir to be auto-read by wing at start) with the use of wingapi . It's a bit hard to debug it, though, since there are no wingapi in the IDE.
I've come across another problem. I've written a simple command script(auto-read by Wing at start) which returned errors (to Message window) specifically caused by "import telenlib" (Value = 'No module named telnetlib'). Other modules(os, socket, wingapi, subprocess) load all right. Which drives me crazy because telnet is also an "internal" module. I suspect Wing will set me up with similar issues in the future. Any experience, guys, it solving such problem? 2010/2/7 Subbu.Add <[email protected]> > Hi, > > Any one is using Wing IDE for Maya purpose. Mr. Eric helped me up to some > extent to send commands from Wing to Maya. > But I couldn't import wingapi module. Which is supplied along Wing IDE pro > (Trail version) > > Actual problem is there are some other modules like 'editor' are available > in the installation folder. But I couldn't use those with > >>> import wingapi > >>> import editor etc. > > I have tried sys.path.append to the path showing to the above two modules. > But still it is not working. > > I have followed this below link. But still it is not helping fully. > > > http://mayamel.tiddlyspot.com/#[[How%20can%20I%20have%20Wing%20send%20Python%20or%20mel%20code%20to%20Maya%3F]] > > I have sent mail to help desk also at wingware.net > > If this trial version works properly, we are planning to go for wing IDE > for production purpose. > > Thanks, > Subbu > > > -- > http://groups.google.com/group/python_inside_maya -- http://groups.google.com/group/python_inside_maya
