Notifications
Clear all

[Closed] Python + MXS

You shouldn’t have to do any of this.

For example, 3dsmax 2015 is provided with python 2.7 (c:\program files\autodesk\3dsmax 2015\python).

Then for using Qt, it would start with :

from PySide import QtGui

Check the help file, section “using pyside”

You speak about a command line prompt error, be more precise on what you’re trying to do.

ok
I did installed PYQT 4.8.6 64 bit
to the python folder site package
with insuring that i had the right registry keys as christopher said at this :
https://area.autodesk.com/blogs/chris/pyqt-ui-in-3ds-max-2014-extension
and when I executed the demoPyVersionTool.py
I get this result

3ds Max 2014 path environment variable C:\Program Files\Autodesk\3ds Max 2014;C:\Program Files\Autodesk\3ds Max 2014\python\Lib\site-packages;C:\Program Files\Python;C:\Program Files\Python\Lib\site-packages;C:\Program Files\Python\Lib\site-packages\PyQt5;
MaxPlus module False
PyQt QT version 4.8.6
PyQt module True
PyQt version 4.11.2
PySide module False
Python prefix C:\Program Files\Autodesk\3ds Max 2014\python
Python version 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
os module True
sys module True
#success

thanks MrPingouin ur pointing was helpfull

Hey,

Im new at 3dsmax but i have several python projects running.
I think about to get the camera position and export it with python.

I would like to get something like this:
30,30,30
25,30,30
20,30,30

Each line on frame.

I read a lot at the APi-Page and looked into pythondemos, but I
only find demos that are creating objects.

the camera is in the scene and this is moving.

Starting python with the mxscript is working, but
how to I get the camera and how do I get the position
of it to write it down into a file.

for loop:

  • Get Camera.Position
  • Set next frame

Thanks a lot!

Hi everyone

I was wondering if one could access the rollout control or an equivalent within pyside in max 2017 ?

Thanks

Page 26 / 26