Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.

Synopsis

nurbsEditUV [-angle float] [-pivotU float] [-pivotV float] [-relative boolean] [-rotateRatio float] [-rotation boolean] [-scale boolean] [-scaleU float] [-scaleV float] [-uValue float] [-vValue float]

nurbsEditUV is undoable, queryable, and NOT editable.

Command Edits UVs on NURBS objects. When used with the query flag, it returns the UV values associated with the specified components.

Return value

booleanSuccess or Failure.

In query mode, return type is based on queried flag.

Keywords

nurbs, editUV, tweakUV, uvEditing

Related

nurbsCopyUVSet, nurbsUVSet

Flags

angle, pivotU, pivotV, relative, rotateRatio, rotation, scale, scaleU, scaleV, uValue, vValue
Long name (short name) Argument types Properties
-angle(-a) float createquery
Specifies the angle value (in degrees) by which the UV values are to be rotated.
-pivotU(-pu) float createquery
Specifies the pivot value, in the u direction, about which the scale or rotate is to be performed.
-pivotV(-pv) float createquery
Specifies the pivot value, in the v direction, about which the scale or rotate is to be performed.
-relative(-r) boolean createquery
Specifies whether this command is editing the values relative to the currently existing values. Default is true;
-rotateRatio(-rr) float createquery
Specifies the ratio value by which the UV values are to be rotated. Default is 1.0
-rotation(-rot) boolean createquery
Specifies whether this command is editing the values with rotation values
-scale(-s) boolean createquery
Specifies whether this command is editing the values with scale values
-scaleU(-su) float createquery
Specifies the scale value in the u direction.
-scaleV(-sv) float createquery
Specifies the scale value in the v direction.
-uValue(-u) float createquery
Specifies the value, in the u direction - absolute if relative flag is false..
-vValue(-v) float createquery
Specifies the value, in the v direction - absolute if relative flag is false..

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

string $result[] = `sphere`;
string $shape = $result[0];
select -r $shape;

nurbsUVSet -create;
nurbsUVSet -useExplicit 1;

select -r ($shape+".cv[3:5][2:4]");

// Rotate the UVs by 45 degrees
nurbsEditUV -angle 45;