Created
October 22, 2013 23:49
-
-
Save tokejepsen/7110169 to your computer and use it in GitHub Desktop.
lattice remove
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 maya.cmds as cmds | |
sel=cmds.ls(selection=True) | |
lat=sel[-1] | |
objs=sel[0:-1] | |
for obj in objs: | |
cmds.lattice(lat,e=True,remove=True,geometry=obj) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment