i’m working on a script to create locators on some instances to parent them on follicles.
The script is very basic, i have some problem inheriting the rotation, and also in general on non freezed object.
Second problem is that i need all locators created in the loop to be in a list, so that i can parent them to the surface and the instance.
Some hints on how to do would be great!!Thanks alot!
#CREATE FEW SPHERE AND RUN IT!
import maya.cmds as cmds
curSel = cmds.ls(long = True, selection = True,)
for items in curSel:
locPiv = [x, y, z]
cmds.xform(locator, piv=locPiv, os=True)