This command creates a context which may be used to deform UV maps with lattice manipulator. This context only works in the texture UV editor.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
envelope (ev) | float | ||
|
|||
exists (ex) | bool | ||
|
|||
history (ch) | bool | ||
|
|||
image1 (i1) | unicode | ||
image2 (i2) | unicode | ||
image3 (i3) | unicode | ||
|
|||
latticeColumns (lc) | int | ||
|
|||
latticeRows (lr) | int | ||
|
|||
name (n) | unicode | ||
|
|||
snapPixelMode (spm) | bool | ||
|
|||
useBoundingRect (ubr) | bool | ||
When constructing the lattice use the bounding box of the selected UVs for the extents of the lattice. When this is disabled the extents of the marquee selections are used as the extents for the lattice.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.texLatticeDeformContext
Example:
import pymel.core as pm
import maya.cmds as cmds
# Create a lattice manipulator with 4 x 4 lattice.
#
pm.texLatticeDeformContext( 'latticeContext', latticeColumns=4, latticeRows=4 )
# Result: u'latticeContext' #