Go to: Synopsis. Return value. Flags. MEL examples.
polySelect [-add] [-addFirst] [-asSelectString] [-deselect] [-edgeBorder uint] [-edgeBorderPath int int] [-edgeBorderPattern int int] [-edgeLoop uint] [-edgeLoopOrBorder uint] [-edgeLoopOrBorderPattern int int] [-edgeLoopPath int int] [-edgeLoopPattern int int] [-edgeRing uint] [-edgeRingPath int int] [-edgeRingPattern int int] [-edgeUVLoopOrBorder uint] [-everyN uint] [-extendToShell uint] [-noSelection] [-replace] [-shortestEdgePath int int] [-shortestEdgePathUV int int] [-shortestFacePath int int] [-toggle]
polySelect is undoable, queryable, and NOT editable.
This command makes different types of poly component selections. The return value is an integer array containing the id's of the components in the selection in order. If a given type of selection loops back on itself then this is indicated by the start id appearing twice, once at the start and once at the end.int[] | List of selected components. |
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-add(-add)
|
|
|||
|
||||
-addFirst(-af)
|
|
|||
|
||||
-asSelectString(-ass)
|
|
|||
|
||||
-deselect(-d)
|
|
|||
|
||||
-edgeBorder(-eb)
|
uint
|
|||
|
||||
-edgeBorderPath(-ebp)
|
int int
|
|||
|
||||
-edgeBorderPattern(-bpt)
|
int int
|
|||
|
||||
-edgeLoop(-el)
|
uint
|
|||
|
||||
-edgeLoopOrBorder(-elb)
|
uint
|
|||
|
||||
-edgeLoopOrBorderPattern(-lbp)
|
int int
|
|||
|
||||
-edgeLoopPath(-elp)
|
int int
|
|||
|
||||
-edgeLoopPattern(-lpt)
|
int int
|
|||
|
||||
-edgeRing(-er)
|
uint
|
|||
|
||||
-edgeRingPath(-erp)
|
int int
|
|||
|
||||
-edgeRingPattern(-rpt)
|
int int
|
|||
|
||||
-edgeUVLoopOrBorder(-euv)
|
uint
|
|||
|
||||
-everyN(-en)
|
uint
|
|||
|
||||
-extendToShell(-ets)
|
uint
|
|||
|
||||
-noSelection(-ns)
|
|
|||
|
||||
-replace(-r)
|
|
|||
|
||||
-shortestEdgePath(-sep)
|
int int
|
|||
|
||||
-shortestEdgePathUV(-spu)
|
int int
|
|||
|
||||
-shortestFacePath(-sfp)
|
int int
|
|||
|
||||
-toggle(-tgl)
|
|
|||
|
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. |
polySelect -edgeRing 1 pCube1; polySelect -toggle -edgeRingPath 1 10 pCube1; polySelect -ns -edgeRingPath 1 10 pCube1; polySelect -edgeRingPath 1 10 -edgeRingPath 11 20 pCube1; polySelect -shortestEdgePath 10 100 pPlane1;