The selectPrioritycommand is used to change the selection priority of particular types of objects that can be selected when using the select tool. It accepts no other arguments besides the flags. These flags are the same as used by the ‘selectType’ command.
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
allComponents / alc | int | ![]() ![]() |
|
|
|||
allObjects / alo | int | ![]() ![]() |
|
|
|||
animBreakdown / abd | int | ![]() ![]() |
|
|
|||
animCurve / ac | int | ![]() ![]() |
|
|
|||
animInTangent / ait | int | ![]() ![]() |
|
|
|||
animKeyframe / ak | int | ![]() ![]() |
|
|
|||
animOutTangent / aot | int | ![]() ![]() |
|
|
|||
byName / bn | unicode, bool | ![]() |
|
|
|||
camera / ca | int | ![]() ![]() |
|
|
|||
cluster / cl | int | ![]() ![]() |
|
|
|||
collisionModel / clm | int | ![]() ![]() |
|
|
|||
controlVertex / cv | int | ![]() ![]() |
|
|
|||
curve / c | int | ![]() ![]() |
|
|
|||
curveKnot / ck | int | ![]() ![]() |
|
|
|||
curveOnSurface / cos | int | ![]() ![]() |
|
|
|||
curveParameterPoint / cpp | int | ![]() ![]() |
|
|
|||
dimension / dim | int | ![]() ![]() |
|
|
|||
dynamicConstraint / dc | int | ![]() ![]() |
|
|
|||
edge / eg | int | ![]() ![]() |
|
|
|||
editPoint / ep | int | ![]() ![]() |
|
|
|||
emitter / em | int | ![]() ![]() |
|
|
|||
facet / fc | int | ![]() ![]() |
|
|
|||
field / fi | int | ![]() ![]() |
|
|
|||
fluid / fl | int | ![]() ![]() |
|
|
|||
follicle / fo | int | ![]() ![]() |
|
|
|||
hairSystem / hs | int | ![]() ![]() |
|
|
|||
handle / ha | int | ![]() ![]() |
|
|
|||
hull / hl | int | ![]() ![]() |
|
|
|||
ikEndEffector / iee | int | ![]() ![]() |
|
|
|||
ikHandle / ikh | int | ![]() ![]() |
|
|
|||
imagePlane / ip | int | ![]() ![]() |
|
|
|||
implicitGeometry / ig | int | ![]() ![]() |
|
|
|||
isoparm / iso | int | ![]() ![]() |
|
|
|||
joint / j | int | ![]() ![]() |
|
|
|||
jointPivot / jp | int | ![]() ![]() |
|
|
|||
lattice / la | int | ![]() ![]() |
|
|
|||
latticePoint / lp | int | ![]() ![]() |
|
|
|||
light / lt | int | ![]() ![]() |
|
|
|||
localRotationAxis / ra | int | ![]() ![]() |
|
|
|||
locator / lc | int | ![]() ![]() |
|
|
|||
locatorUV / luv | int | ![]() ![]() |
|
|
|||
locatorXYZ / xyz | int | ![]() ![]() |
|
|
|||
meshUVShell / msh | bool | ![]() ![]() |
|
|
|||
motionTrailPoint / mtp | int | ![]() ![]() |
|
|
|||
motionTrailTangent / mtt | int | ![]() ![]() |
|
|
|||
nCloth / ncl | int | ![]() ![]() |
|
|
|||
nParticle / npr | int | ![]() ![]() |
|
|
|||
nParticleShape / nps | int | ![]() ![]() |
|
|
|||
nRigid / nr | int | ![]() ![]() |
|
|
|||
nonlinear / nl | int | ![]() ![]() |
|
|
|||
nurbsCurve / nc | int | ![]() ![]() |
|
|
|||
nurbsSurface / ns | int | ![]() ![]() |
|
|
|||
orientationAxis / oa | int | ||
orientationLocator / ol | int | ![]() ![]() |
|
|
|||
particle / pr | int | ![]() ![]() |
|
|
|||
particleShape / ps | int | ![]() ![]() |
|
|
|||
plane / pl | int | ![]() ![]() |
|
|
|||
polymesh / p | int | ![]() ![]() |
|
|
|||
polymeshEdge / pe | int | ![]() ![]() |
|
|
|||
polymeshFace / pf | int | ![]() ![]() |
|
|
|||
polymeshFreeEdge / pfe | int | ![]() ![]() |
|
|
|||
polymeshUV / puv | int | ![]() ![]() |
|
|
|||
polymeshVertex / pv | int | ![]() ![]() |
|
|
|||
polymeshVtxFace / pvf | int | ![]() ![]() |
|
|
|||
queryByName / qbn | unicode | ![]() |
|
|
|||
rigidBody / rb | int | ![]() ![]() |
|
|
|||
rigidConstraint / rc | int | ![]() ![]() |
|
|
|||
rootHandle / rh | int | ||
rotatePivot / rp | int | ![]() ![]() |
|
|
|||
scalePivot / sp | int | ![]() ![]() |
|
|
|||
sculpt / sc | int | ![]() ![]() |
|
|
|||
selectHandle / sh | int | ![]() ![]() |
|
|
|||
sets / set | int | ||
slugObject / slo | int | ||
slugVertex / sv | int | ||
softBody / sb | int | ||
spotlightComponent / slc | int | ||
spring / spr | int | ![]() ![]() |
|
|
|||
springComponent / spc | int | ![]() ![]() |
|
|
|||
stroke / str | int | ![]() ![]() |
|
|
|||
subdiv / sd | int | ![]() ![]() |
|
|
|||
subdivMeshEdge / sme | int | ![]() ![]() |
|
|
|||
subdivMeshFace / smf | int | ![]() ![]() |
|
|
|||
subdivMeshPoint / smp | int | ![]() ![]() |
|
|
|||
subdivMeshUV / smu | int | ![]() ![]() |
|
|
|||
subdivisionPolymesh / spl | int | ||
subdivisionPolymeshEdge / spe | int | ||
subdivisionPolymeshFace / spf | int | ||
subdivisionPolymeshVertex / spv | int | ||
surfaceEdge / se | int | ![]() ![]() |
|
|
|||
surfaceFace / sf | int | ![]() ![]() |
|
|
|||
surfaceKnot / sk | int | ![]() ![]() |
|
|
|||
surfaceParameterPoint / spp | int | ![]() ![]() |
|
|
|||
surfaceRange / sr | int | ![]() ![]() |
|
|
|||
texture / tx | int | ![]() ![]() |
|
|
|||
vertex / v | int | ![]() ![]() |
|
|
Derived from mel command maya.cmds.selectPriority
Example:
import pymel.core as pm
pm.selectPriority( q=True, nurbsCurve=True )
# Result: 2 #
pm.selectPriority( nurbsCurve=10 )
pm.selectPriority( handle=9, ikHandle=8 )