Command edits uvs on subdivision surfaces. When used with the query flag, it returns the uv 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 appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
vValue (v) | float | ||
|
Derived from mel command maya.cmds.subdEditUV
Example:
import pymel.core as pm
import maya.cmds as cmds
# To tweak the u and v values of selected uvs:
pm.subdEditUV( relative=True, uValue=0.05925926, vValue=0.05555556 )
# To set absolute values for u and v values of selected uvs:
pm.subdEditUV( relative=False, uValue=0.556, vValue=0.56 )
# To rotate selected uv points about a pivot:
pm.subdEditUV( pivotU=0.5, pivotV=0.5, angle=-15 )
# To scale selected uv points about a pivot:
pm.subdEditUV( pivotU=0.5, pivotV=0.5, scaleU=-0.06, scaleV=-0.06 )