This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import division | |
import maya.cmds as my | |
import pymel.core as pm | |
def padding( *args ): | |
list = pm.ls( sl=True ) | |
num_name_delete = pm.intField(intFieldEntry_num_name_delete, editable = True, query = True, value = True ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymel.core as pm | |
import maya.mel as mel | |
import re | |
''' | |
Radio button for point lock activation | |
''' | |
def button_base( *args ) : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymel.core as pm | |
import maya.mel as mel | |
import re | |
''' | |
Radio button for point lock activation | |
''' | |
def button_base( *args ) : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymel.core as pm | |
import maya.mel as mel | |
import re | |
''' | |
Radio button for point lock activation | |
''' | |
def button_base( *args ) : | |
intFieldData_seq = pm.intField( intFieldEntry_seq, editable = True, query = True, value = True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select -cl; | |
proc hair_joint_x() { | |
$origin_x = getAttr( "locator1.translateX" ) ; | |
$origin_y = getAttr( "locator1.translateY" ) ; | |
$origin_z = getAttr( "locator1.translateZ" ) ; | |
print ("x of origin = " + $origin_x + "\n") ; | |
print ("y of origin = " + $origin_y + "\n") ; | |
print ("z of origin = " + $origin_z + "\n") ; |