locatorScaleinMaya v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Eberhard Hasche
short python script fur using in maya to scale the imported Nuke locators without offsetting the position
Requirements:
6.0, 6.1, 6.2, 6.3, 7.0 or later
11 May 2013
52

// Select the locators you want to scale

// Copy the following script in the Python Editor in Maya

// Run the script, the locators will be scaled by 100 down but  keeping the position

 

import maya.cmds as mc

rescale = 0.01

liste = mc.ls(sl=True)

for i in liste:

    mc.scale(rescale,rescale,rescale, i, r=True)

Please login in order to download these files.

You have no rights to post comments

We have 2994 guests and 76 members online