Go to: Synopsis. Return value. Keywords.
Related. Flags.
Python examples.
nurbsSelect([borderSelection=boolean],
[bottomBorder=boolean],
[growSelection=int],
[leftBorder=boolean],
[rightBorder=boolean],
[shrinkSelection=int],
[topBorder=boolean])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
nurbsSelect is NOT undoable, NOT queryable, and
NOT editable.
Performs selection operations on NURBS objects.
If any of the border flags is set, then the appropriate borders are
selected. Otherwise the current CV selection is used, or all CVs if
the surfaces is selected as an object.
The growSelection, shrinkSelection, borderSelection flags are then
applied in that order.
In practice, it is recommended to use one flag at a time, except
for the border flags.
None
texture, uv, image
move
borderSelection, bottomBorder, growSelection, leftBorder, rightBorder, shrinkSelection, topBorder
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 have multiple arguments, passed
either as a tuple or a list. |
import maya.cmds as cmds
# Create a Nurbs plane.
cmds.nurbsPlane( u=5, v=7 )
# Select it top and bottom CVs.
cmds.nurbsSelect( topBorder=True, bottomBorder=True )
# Expand the selection to 3 rows.
cmds.nurbsSelect( growSelection=3 )
# Select only the outline of the rows.
cmds.nurbsSelect( borderSelection=True )