Maya: Defer a script until after VRay is registered?
问题 I'm trying to delay a part of my pipeline tool (which runs during the startup of Maya) to run after VRay has been registered. I'm currently delaying the initialization of the tool in a userSetup.py like so: def run_my_tool(): import my_tool reload(my_tool) mc.evalDeferred("run_my_tool()") I've tried using evalDeferred within the tool to delay the execution of the render_settings script, but it keeps running before VRay has been registered. Any thoughts on how to create a listener for the VRay