Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, has anyone had any trouble with their userSetup.py in Maya 2019.1 not running at all?
It was all working fine and as usual for days, after updating to 2019.1, then after closing and re-opening Maya it has stopped running.
I've tried moving the entire thing into a function and calling that with a cmds.evalDeferred() and I've tried peppering the entire thing with print and sys.stdout.write() statements using deferred evaluation. It simply isn't running 😞
Any ideas?
This is my userSetup before the issue, as it has been working for the past year or so.
import pymel.core as pm
import maya.cmds as cmds
from sys_utils import mk_menu
from sys_utils.rollbackImporter import RollbackImporter
rollback = RollbackImporter()
cmds.evalDeferred("mkMenu = mk_menu.MKMenu()")
Solved! Go to Solution.