pymel.core.general.objectType

objectType(*args, **kwargs)

This command returns the type of elements. Warning: This command is incomplete and may not be supported by all object types.

Flags:
  • convertTag : ct (unicode) []

  • isAType : isa (unicode) [create]

    Returns true if the object is the specified type or derives from an object that is of the specified type. This flag will only work with dependency nodes.

  • isType : i (unicode) [create]

    Returns true if the object is exactly of the specified type. False otherwise.

  • tagFromType : tgt (unicode) [create]

    Returns the type tag given a type name. Flag can have multiple arguments, passed either as a tuple or a list.

  • typeFromTag : tpt (int) [create]

    Returns the type name given an integer type tag.

  • typeTag : tt (bool) [create]

    Returns an integer tag that is unique for that object type. Not all object types will have tags. This is the unique 4-byte value that is used to identify nodes of a given type in the binary file format.

Derived from mel command maya.cmds.objectType

Previous topic

pymel.core.general.objectCenter

Next topic

pymel.core.general.paramDimension

Core

Core Modules

Other Modules

This Page