Notifications
Clear all

[Closed] Python and PyQt in 3dsMax

 Eru

Everyone who would like to have Python in 3dsmax as built in, should vote here:

https://autodesk.uservoice.com/forums/80701-publicsdkandscriptingenhancements/suggestions/1489587-python

I say will should all cast out vote, whether that would help or not, it’s just a click…

I haven’t seen docking Qt UI’s into max’s, but the way to solve the Qt event loop is that you have to build/use the QWinMigrate package:

http://doc.trolltech.com/solutions/qtwinmigrate/winmigrate-walkthrough.html

All the Qt code is python side and will work as a C++ plugin as well, so if you want to see how it is implemented, you can look at it in $PYTHONPATH/lib/site-packages/blurdev/cores/core.py:

Mostly, you need to create a singular QMfcApp instance.

This python plugin isn’t a COM system, but a direct wrapper of Maxscript <-> Python via C/Python as a pre-compiled plugin. There is no problem with it running multiple instances of the same max with the same python, as it creates a separate session per Max instance.

 Eru

10x
I’ll check it out…

I’m having problems now running any PyQt thing, I posted it here:
http://forums.cgsociety.org/showthread.php?f=183&t=983157&highlight=py3dsmax

Can somebody help?

Page 17 / 17