Hi polycounters, More or less my setup for 3ds max 2017 with python is: Visual studio Code (with python, MaxScript plugins and MXSPyCOM connects to 3ds Max) Pyside 1.2.2 Qt 4.8.5 (With QtDesigner) Actually create a python script ( based on Drew Avis in Max Docs) with simple things, yesterday works more or less by now when…
i've discovered something new, if you start max and evaluate your Python script through Visual studio Code or 3ds max Python editor (without open previously the script) this crash, but if you close all the tabs (3ds max Python editor) and reopen the same script, works. :sweat: :sweat: Later you can revaluate all times that…
Acually I have he same problem, maybe can be the path with space ? or I'm doing wrong with .ui file and Python code? , my actual path is: "C:\Users\sergio.espinosa\AppData\Local\Autodesk\3dsMax\2017 - 64bit\ENU\scripts\Espi" thanks!! ^^
Well the path in the error message is obviously different than the path that you say it should be, that's why the 'file not found' error. The code you're using to build the path is probably incorrect, os.path.curdir is referring to the working directory (3ds executable Path), not the user scripts folder. A Google search…
Hi again guys! I'm trying to import a custom Python Module (CarVerifierRules.py) but when i evaluate the main.py, show me this error: into main.py put this: import os, sys, MaxPlusfrom PySide import QtCore, QtGuifrom pymxs import runtime as rtfrom CarVerifierRules import CarVerifierConstant as CarRules…
Hello again polycounters! i have some troubles with Qt Designer and 3ds Max about the icons. In Qt Designer i got load the icon(in editor and preview modes): Here the parameters: But in 3ds max no: the icon is into subfolder (UI/icons/folder-icon.png) I tried to save the icon into 3ds max folder "usericons". any ideas? :'(
I think it's a bug with pysideuic. Try putting the icon in the same folder as the PY file. Or try using the full path to the icon. I just remember icons didn't work in 2017, but they work in 2018. In either case, you should consider updating to 2018 or 2019. They removed PySide and replaced it with PySide2, and 2017 was…