View Single Post
# 1 22-11-2013 , 08:49 AM
Subscriber
Join Date: Oct 2011
Location: Zurich, Switzerland
Posts: 99

Help me with this script

Hello all,

I got a script which basically only set Wire Frame on Shaded Option as well as display objects shaded and textured when Maya starts. This was working perfectly in Maya 2013 x64. In Maya 2014 it is not working in the usersetup.mel, but if I'm running the mel code in the MEL editor it works like a charm. Below the code.

string $command = "setWireframeOnShadedOption true modelPanel4; DisplayShadedAndTextured;";
scriptJob -e "ToolChanged" $command -runOnce true;
scriptJob -e "NewSceneOpened" $command;

Anyone that can explain me why this is not running in the usersetup.mel?

Many thanks in advance.


_______________________
KR;Lecra