pymel.core.general.selectType

selectType(*args, **kwargs)

The selectTypecommand is used to change the set of allowable types of objects that can be selected when using the select tool. It accepts no other arguments besides the flags. There are basically two different types of items that are selectable when interactively selecting objects in the 3D views. They are classified as objects (entire objects) or components (parts of objects). The objectand componentcommand flags control which class of objects are selectable. It is possible to select components while in the object selection mode. To set the components which are selectable in object selection mode you must use the -ocm flag when specifying the component flags.

Flags:
  • allComponents : alc (bool) [create,query]

    Set all component selection masks on/off

  • allObjects : alo (bool) [create,query]

    Set all object selection masks on/off

  • animBreakdown : abd (bool) [create,query]

    Set animation breakdown selection mask on/off. Flag can have multiple arguments, passed either as a tuple or a list.

  • animCurve : ac (bool) [create,query]

    Set animation curve selection mask on/off.

  • animInTangent : ait (bool) [create,query]

    Set animation in-tangent selection mask on/off.

  • animKeyframe : ak (bool) [create,query]

    Set animation keyframe selection mask on/off.

  • animOutTangent : aot (bool) [create,query]

    Set animation out-tangent selection mask on/off.

  • camera : ca (bool) [create,query]

    Set camera selection mask on/off. (object flag)

  • cluster : cl (bool) [create,query]

    Set cluster selection mask on/off. (object flag)

  • collisionModel : clm (bool) [create,query]

    Set collision model selection mask on/off. (object flag)

  • controlVertex : cv (bool) [create,query]

    Set control vertex selection mask on/off. (component flag)

  • curve : c (bool) [create,query]

    Set curve selection mask on/off. (object flag)

  • curveKnot : ck (bool) [create,query]

    Set curve knot selection mask on/off. (component flag)

  • curveOnSurface : cos (bool) [create,query]

    Set curve-on-surface selection mask on/off. (object flag)

  • curveParameterPoint : cpp (bool) [create,query]

    Set curve parameter point selection mask on/off. (component flag)

  • dimension : dim (bool) [create,query]

    Set dimension shape selection mask on/off. (object flag)

  • dynamicConstraint : dc (bool) [create,query]

    Set dynamicConstraint selection mask on/off. (object flag)

  • edge : eg (bool) [create,query]

    Set mesh edge selection mask on/off. (component flag)

  • editPoint : ep (bool) [create,query]

    Set edit-point selection mask on/off. (component flag)

  • emitter : em (bool) [create,query]

    Set emitter selection mask on/off. (object flag)

  • facet : fc (bool) [create,query]

    Set mesh face selection mask on/off. (component flag)

  • field : fi (bool) [create,query]

    Set field selection mask on/off. (object flag)

  • fluid : fl (bool) [create,query]

    Set fluid selection mask on/off. (object flag)

  • follicle : fo (bool) [create,query]

    Set follicle selection mask on/off. (object flag)

  • hairSystem : hs (bool) [create,query]

    Set hairSystem selection mask on/off. (object flag)

  • handle : ha (bool) [create,query]

    Set object handle selection mask on/off. (object flag)

  • hull : hl (bool) [create,query]

    Set hull selection mask on/off. (component flag)

  • ikEndEffector : iee (bool) [create,query]

    Set ik end effector selection mask on/off. (object flag)

  • ikHandle : ikh (bool) [create,query]

    Set ik handle selection mask on/off. (object flag)

  • imagePlane : ip (bool) [create,query]

    Set image plane selection mask on/off. (component flag)

  • implicitGeometry : ig (bool) [create,query]

    Set implicit geometry selection mask on/off. (object flag)

  • isoparm : iso (bool) [create,query]

    Set surface iso-parm selection mask on/off. (component flag)

  • joint : j (bool) [create,query]

    Set ik handle selection mask on/off. (object flag)

  • jointPivot : jp (bool) [create,query]

    Set joint pivot selection mask on/off. (component flag)

  • lattice : la (bool) [create,query]

    Set lattice selection mask on/off. (object flag)

  • latticePoint : lp (bool) [create,query]

    Set lattice point selection mask on/off. (component flag)

  • light : lt (bool) [create,query]

    Set light selection mask on/off. (object flag)

  • localRotationAxis : ra (bool) [create,query]

    Set local rotation axis selection mask on/off. (component flag)

  • locator : lc (bool) [create,query]

    Set locator (all types) selection mask on/off. (object flag)

  • locatorUV : luv (bool) [create,query]

    Set uv locator selection mask on/off. (object flag)

  • locatorXYZ : xyz (bool) [create,query]

    Set xyz locator selection mask on/off. (object flag)

  • meshComponents : mc (bool) []

  • nCloth : ncl (bool) [create,query]

    Set nCloth selection mask on/off. (object flag)

  • nParticle : npr (bool) [create,query]

    Set nParticle point selection mask on/off. (component flag)

  • nParticleShape : nps (bool) [create,query]

    Set nParticle shape selection mask on/off. (object flag)

  • nRigid : nr (bool) [create,query]

    Set nRigid selection mask on/off. (object flag)

  • nonlinear : nl (bool) [create,query]

    Set nonlinear selection mask on/off. (object flag)

  • nurbsCurve : nc (bool) [create,query]

    Set nurbs-curve selection mask on/off. (object flag)

  • nurbsSurface : ns (bool) [create,query]

    Set nurbs-surface selection mask on/off. (object flag)

  • objectComponent : ocm (bool) [create,query]

    Component flags apply to object mode.

  • orientationLocator : ol (bool) [create,query]

    Set orientation locator selection mask on/off. (object flag)

  • particle : pr (bool) [create,query]

    Set particle point selection mask on/off. (component flag)

  • particleShape : ps (bool) [create,query]

    Set particle shape selection mask on/off. (object flag)

  • plane : pl (bool) [create,query]

    Set sketch plane selection mask on/off. (object flag)

  • polymesh : p (bool) [create,query]

    Set poly-mesh selection mask on/off. (object flag)

  • polymeshEdge : pe (bool) [create,query]

    Set poly-mesh edge selection mask on/off. (component flag)

  • polymeshFace : pf (bool) [create,query]

    Set poly-mesh face selection mask on/off. (component flag)

  • polymeshFreeEdge : pfe (bool) [create,query]

    Set poly-mesh free-edge selection mask on/off. (component flag)

  • polymeshUV : puv (bool) [create,query]

    Set poly-mesh UV point selection mask on/off. (component flag)

  • polymeshVertex : pv (bool) [create,query]

    Set poly-mesh vertex selection mask on/off. (component flag)

  • polymeshVtxFace : pvf (bool) [create,query]

    Set poly-mesh vertexFace selection mask on/off. (component flag)

  • rigidBody : rb (bool) [create,query]

    Set rigid body selection mask on/off. (object flag)

  • rigidConstraint : rc (bool) [create,query]

    Set rigid constraint selection mask on/off. (object flag)

  • rotatePivot : rp (bool) [create,query]

    Set rotate pivot selection mask on/off. (component flag)

  • scalePivot : sp (bool) [create,query]

    Set scale pivot selection mask on/off. (component flag)

  • sculpt : sc (bool) [create,query]

    Set sculpt selection mask on/off. (object flag)

  • selectHandle : sh (bool) [create,query]

    Set select handle selection mask on/off. (component flag)

  • sets : set (bool) []

  • slugObject : slo (bool) []

  • slugVertex : sv (bool) []

  • spotlightComponent : slc (bool) []

  • spring : spr (bool) [create,query]

    Set spring shape selection mask on/off. (object flag)

  • springComponent : spc (bool) [create,query]

    Set individual spring selection mask on/off. (component flag)

  • stroke : str (bool) [create,query]

    Set the Paint Effects stroke selection mask on/off. (object flag)

  • subdiv : sd (bool) [create,query]

    Set subdivision surfaces selection mask on/off. (object flag)

  • subdivMeshEdge : sme (bool) [create,query]

    Set subdivision surfaces mesh edge selection mask on/off. (component flag)

  • subdivMeshFace : smf (bool) [create,query]

    Set subdivision surfaces mesh face selection mask on/off. (component flag)

  • subdivMeshPoint : smp (bool) [create,query]

    Set subdivision surfaces mesh point selection mask on/off. (component flag)

  • subdivMeshUV : smu (bool) [create,query]

    Set subdivision surfaces mesh UV map selection mask on/off. (component flag)

  • subdivisionPolymesh : spl (bool) []

  • subdivisionPolymeshEdge : spe (bool) []

  • subdivisionPolymeshFace : spf (bool) []

  • subdivisionPolymeshVertex : spv (bool) []

  • surfaceEdge : se (bool) [create,query]

    Set surface edge selection mask on/off. (component flag)

  • surfaceFace : sf (bool) [create,query]

    Set surface face selection mask on/off. (component flag)

  • surfaceKnot : sk (bool) [create,query]

    Set surface knot selection mask on/off. (component flag)

  • surfaceParameterPoint : spp (bool) [create,query]

    Set surface parameter point selection mask on/off. (component flag)

  • surfaceRange : sr (bool) [create,query]

    Set surface range selection mask on/off. (component flag)

  • surfaceUV : suv (bool) [create,query]

    Set surface uv selection mask on/off. (component flag)

  • texture : tx (bool) [create,query]

    Set texture selection mask on/off. (object flag)

  • vertex : v (bool) [create,query]

    Set mesh vertex selection mask on/off. (component flag)

Derived from mel command maya.cmds.selectType

Previous topic

pymel.core.general.selectPriority

Next topic

pymel.core.general.selected

Core

Core Modules

Other Modules

This Page