Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.
nurbsUVSet [-create] [-useExplicit boolean]
nurbsUVSet is undoable, queryable, and editable.
Allows user to toggle between implicit and explicit UVs on a NURBS object. Also provides a facility to create, delete, rename and set the current explicit UVSet. An implicit UVSet is non-editable. It uses the parametric make-up of the NURBS object to determine the location of UVs (isoparm intersections). NURBS objects also support explicit UVSets which are similar to the UVs of a polygonal object. UVs are created at the knots (isoparm intersections) of the object and are fully editable. In order to access UV editing capabilities on a NURBS object an explicit UVSet must be created and set as the current UVSet.| boolean | Success or Failure. | 
In query mode, return type is based on queried flag.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
-create(-c) | 
||||
  | 
||||
-useExplicit(-ue) | 
boolean | 
|||
  | 
||||
string $result[] = `sphere`;
string $shape = $result[0];
select -r $shape;
// Create and activate a UV set
nurbsUVSet -create;
nurbsUVSet -useExplicit 1;
select -r ($shape+".cv[3:5][2:4]");
// Rotate the UVs by 45 degrees
nurbsEditUV -angle 45;