Script in Maya

ex:
modelEditor -e -alo 0 -ns 1 -pm 1 -gr 0 -da "flatShaded" modelPanel1;
modelEditor -e //edit -alo 0 //allObjects OFF -ns 1 //nurbs surface ON -pm 1 //polymeshes ON -gr 0 //grid OFF -da "flatShaded" //displayAppearance modelPanel1; // this is the name of the 2nd top part

ex:
modelEditor -e -alo 0 -nc 1 -ns 1 -pm 1 -gr 0 -da "flatShaded"
//Edit first top part
modelEditor -e //edit
-alo 0 //allObjects OFF
-nc 1 //nurbs curve ON
-ns 1 //nurbs surface ON
-pm 1 //polymeshes ON
-gr 0 //grid OFF
-da "flatShaded" //displayAppearance
modelPanel4; //this is the name of the 1st top part viewport

No comments:

Post a Comment

Thank you, your critique has been accepted