short python script fur using in maya to scale the imported Nuke locators without offsetting the position
locatorScaleinMaya
Updated: 11 May 2013
Author: hasche
Compatible Nuke versions: 6.0 or later
Compatibility: Linux, Mac, Windows
// 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)