![]() ![]() Thanks for the tip! I went and checked the enviroment variables and it contained 2009s bin path… Since python uses the first found stuff I guess it retrieved something from 2009. ![]() Would be lovely if someone can help me with this problem! I just can’t figure out what to do >_< Tried everything… So there is no version mismatching at all My maya is 2011 64 bit hotfix 3 and python version is 2.6.4 64 bit. pythonw.exe has no problems showing PyQT windows so I thought why not make an external version of the same tool so people can do simple changes without needing to open maya. I’m just using the pythonw.exe to launch the external version of the tool. It finds the maya.standalone module but initialzie fails. I’ve also added them to the Enviroment variables called MAYA_LOCATION and PYTHONPATH through os.environ = … trick in the begining of the script. I have appended the Maya install location and Maya Python site-packages location to sys.path in the begining of the script. The first error is thrown 3 times, says can’t find procedure start adress of …: I just can’t get Maya standalone to initialize at all :S The module is loaded! But initialize fails. ![]() All would be fine if I could launch windows through Mayapy.exe but I can’t So I need to use an external interpreter that can load maya and still allow me to show my window! So the external version would just open a Maya file and then since the nodes exists inside that scene I should easily be able to operate on them with my editor written in PyQT. Now since the nodes are being edited by an editor and no user interface of maya is needed, I want to EXPOSE this tool outside of Maya aswell so people don’t have to launch maya everytime they need to edit an object settings (changing Decal surface or collision type etc), and since the tool is written in PyQT I should be able to do this! Before this tool people usually wrote the XML files by hand or by copying from templates and made alot of errors and cause engine crashes, so that’s what I’m firefighting. This allows ARTISTS to build up objects INSIDE maya! The node hierarchy then is outputted to XML which is used by the engine. The nodes are connected to each other by an editor I’ve written in PyQT. I’ve been writing some custom maya nodes lately. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |