Beer glass scene creation
This course contains a little bit of everything with modeling, UVing, texturing and dynamics in Maya, as well as compositing multilayered EXR's in Photoshop.
# 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
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads