Skip to content

Instantly share code, notes, and snippets.

@tokejepsen
Created October 22, 2013 23:48
Show Gist options
  • Save tokejepsen/7110165 to your computer and use it in GitHub Desktop.
Save tokejepsen/7110165 to your computer and use it in GitHub Desktop.
lattice add
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,geometry=obj)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment