Go to: Synopsis. Return value. Related. Flags. Python examples.
selectPriority([allComponents=uint], [allObjects=uint], [animBreakdown=uint], [animCurve=uint], [animInTangent=uint], [animKeyframe=uint], [animOutTangent=uint], [camera=uint], [cluster=uint], [collisionModel=uint], [controlVertex=uint], [curve=uint], [curveKnot=uint], [curveOnSurface=uint], [curveParameterPoint=uint],
[dimension=uint], [dynamicConstraint=uint],
[edge=uint], [editPoint=uint], [emitter=uint], [facet=uint], [field=uint], [fluid=uint], [follicle=uint], [hairSystem=uint], [handle=uint], [hull=uint], [ikEndEffector=uint], [ikHandle=uint], [imagePlane=uint], [implicitGeometry=uint],
[isoparm=uint], [joint=uint], [jointPivot=uint], [lattice=uint], [latticePoint=uint], [light=uint], [localRotationAxis=uint],
[locator=uint], [locatorUV=uint], [locatorXYZ=uint], [motionTrailPoint=uint],
[motionTrailTangent=uint],
[nCloth=uint], [nParticle=uint], [nParticleShape=uint], [nRigid=uint], [nonlinear=uint], [nurbsCurve=uint], [nurbsSurface=uint], [orientationLocator=uint],
[particle=uint], [particleShape=uint], [plane=uint], [polymesh=uint], [polymeshEdge=uint], [polymeshFace=uint], [polymeshFreeEdge=uint],
[polymeshUV=uint], [polymeshVertex=uint], [polymeshVtxFace=uint], [rigidBody=uint], [rigidConstraint=uint], [rotatePivot=uint], [scalePivot=uint], [sculpt=uint], [selectHandle=uint], [spring=uint], [springComponent=uint], [stroke=uint], [subdiv=uint], [subdivMeshEdge=uint], [subdivMeshFace=uint], [subdivMeshPoint=uint], [subdivMeshUV=uint], [surfaceEdge=uint], [surfaceFace=uint], [surfaceKnot=uint], [surfaceParameterPoint=uint],
[surfaceRange=uint],
[texture=uint], [vertex=uint])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
selectPriority is undoable, queryable, and NOT editable.
The selectPriority command 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.| int | if a query operation | 
In query mode, return type is based on queried flag.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
allObjects(alo) | 
uint | 
|||
  | 
||||
handle(ha) | 
uint | 
|||
  | 
||||
ikHandle(ikh) | 
uint | 
|||
  | 
||||
joint(j) | 
uint | 
|||
  | 
||||
light(lt) | 
uint | 
|||
  | 
||||
camera(ca) | 
uint | 
|||
  | 
||||
lattice(la) | 
uint | 
|||
  | 
||||
cluster(cl) | 
uint | 
|||
  | 
||||
sculpt(sc) | 
uint | 
|||
  | 
||||
nonlinear(nl) | 
uint | 
|||
  | 
||||
nurbsCurve(nc) | 
uint | 
|||
  | 
||||
nurbsSurface(ns) | 
uint | 
|||
  | 
||||
curveOnSurface(cos) | 
uint | 
|||
  | 
||||
stroke(str) | 
uint | 
|||
  | 
||||
polymesh(p) | 
uint | 
|||
  | 
||||
plane(pl) | 
uint | 
|||
  | 
||||
subdiv(sd) | 
uint | 
|||
  | 
||||
particleShape(ps) | 
uint | 
|||
  | 
||||
emitter(em) | 
uint | 
|||
  | 
||||
field(fi) | 
uint | 
|||
  | 
||||
fluid(fl) | 
uint | 
|||
  | 
||||
hairSystem(hs) | 
uint | 
|||
  | 
||||
follicle(fo) | 
uint | 
|||
  | 
||||
nCloth(ncl) | 
uint | 
|||
  | 
||||
nParticle(npr) | 
uint | 
|||
  | 
||||
nParticleShape(nps) | 
uint | 
|||
  | 
||||
nRigid(nr) | 
uint | 
|||
  | 
||||
dynamicConstraint(dc) | 
uint | 
|||
  | 
||||
collisionModel(clm) | 
uint | 
|||
  | 
||||
spring(spr) | 
uint | 
|||
  | 
||||
rigidBody(rb) | 
uint | 
|||
  | 
||||
rigidConstraint(rc) | 
uint | 
|||
  | 
||||
locatorXYZ(xyz) | 
uint | 
|||
  | 
||||
orientationLocator(ol) | 
uint | 
|||
  | 
||||
locatorUV(luv) | 
uint | 
|||
  | 
||||
dimension(dim) | 
uint | 
|||
  | 
||||
texture(tx) | 
uint | 
|||
  | 
||||
implicitGeometry(ig) | 
uint | 
|||
  | 
||||
imagePlane(ip) | 
uint | 
|||
  | 
||||
locator(lc) | 
uint | 
|||
  | 
||||
curve(c) | 
uint | 
|||
  | 
||||
allComponents(alc) | 
uint | 
|||
  | 
||||
controlVertex(cv) | 
uint | 
|||
  | 
||||
hull(hl) | 
uint | 
|||
  | 
||||
editPoint(ep) | 
uint | 
|||
  | 
||||
polymeshVertex(pv) | 
uint | 
|||
  | 
||||
polymeshEdge(pe) | 
uint | 
|||
  | 
||||
polymeshFreeEdge(pfe) | 
uint | 
|||
  | 
||||
polymeshFace(pf) | 
uint | 
|||
  | 
||||
polymeshUV(puv) | 
uint | 
|||
  | 
||||
polymeshVtxFace(pvf) | 
uint | 
|||
  | 
||||
vertex(v) | 
uint | 
|||
  | 
||||
edge(eg) | 
uint | 
|||
  | 
||||
facet(fc) | 
uint | 
|||
  | 
||||
curveParameterPoint(cpp) | 
uint | 
|||
  | 
||||
curveKnot(ck) | 
uint | 
|||
  | 
||||
surfaceParameterPoint(spp) | 
uint | 
|||
  | 
||||
surfaceKnot(sk) | 
uint | 
|||
  | 
||||
surfaceRange(sr) | 
uint | 
|||
  | 
||||
surfaceEdge(se) | 
uint | 
|||
  | 
||||
surfaceFace(sf) | 
uint | 
|||
  | 
||||
isoparm(iso) | 
uint | 
|||
  | 
||||
subdivMeshPoint(smp) | 
uint | 
|||
  | 
||||
subdivMeshEdge(sme) | 
uint | 
|||
  | 
||||
subdivMeshFace(smf) | 
uint | 
|||
  | 
||||
subdivMeshUV(smu) | 
uint | 
|||
  | 
||||
latticePoint(lp) | 
uint | 
|||
  | 
||||
particle(pr) | 
uint | 
|||
  | 
||||
springComponent(spc) | 
uint | 
|||
  | 
||||
jointPivot(jp) | 
uint | 
|||
  | 
||||
ikEndEffector(iee) | 
uint | 
|||
  | 
||||
scalePivot(sp) | 
uint | 
|||
  | 
||||
rotatePivot(rp) | 
uint | 
|||
  | 
||||
selectHandle(sh) | 
uint | 
|||
  | 
||||
localRotationAxis(ra) | 
uint | 
|||
  | 
||||
animCurve(ac) | 
uint | 
|||
  | 
||||
animKeyframe(ak) | 
uint | 
|||
  | 
||||
animInTangent(ait) | 
uint | 
|||
  | 
||||
animOutTangent(aot) | 
uint | 
|||
  | 
||||
animBreakdown(abd) | 
uint | 
|||
  | 
||||
motionTrailPoint(mtp) | 
uint | 
|||
  | 
||||
motionTrailTangent(mtt) | 
uint | 
|||
  | 
||||
import maya.cmds as cmds cmds.selectPriority( q=True, nurbsCurve=True ) cmds.selectPriority( nurbsCurve=10 ) cmds.selectPriority( handle=9, ikHandle=8 )