Command edits uv shells on polygonal objects. When used with the query flag, it returns the transformation values associated with the specified components.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
angle (a) | float | ||
|
|||
pivotU (pu) | float | ||
|
|||
pivotV (pv) | float | ||
|
|||
relative (r) | bool | ||
|
|||
rotation (rot) | bool | ||
|
|||
scale (s) | bool | ||
|
|||
scaleU (su) | float | ||
|
|||
scaleV (sv) | float | ||
|
|||
uValue (u) | float | ||
|
|||
uvSetName (uvs) | unicode | ||
Specifies the name of the uv set to edit uvs on. If not specified will use the current uv set if it exists. Flag can have multiple arguments, passed either as a tuple or a list. |
|||
vValue (v) | float | ||
|
Derived from mel command maya.cmds.polyEditUVShell
Example:
import pymel.core as pm
# To query the u and v values of selected uvs:
pm.polyEditUVShell( query=True )
# To tweak the u and v values of selected uvs:
pm.polyEditUVShell( relative=True, uValue=0.05925926, vValue=0.05555556 )
# To rotate selected uv points about a pivot:
pm.polyEditUVShell( pivotU=0.5, pivotV=0.5, angle=-15 )