pymel.core.animation.effector

effector(*args, **kwargs)

The effector command is used to set the name or hidden flag for the effector. The standard edit (-e) and query (-q) flags are used for edit and query functions.

Flags:

Long Name / Short Name Argument Types Properties
hide / hi bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Specifies whether to hide drawing of effector if attached to a handle.
name / n unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
  Specifies the name of the effector. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.effector

Example:

import pymel.core as pm

# Will cause effector1 not to be displayed if attached to a handle.
# This is the default.
#
pm.effector( 'effector1', e=True, hi=False )

# Will cause effector1 to be displayed if attached to a handle.
#
pm.effector( 'effector1', e=True, hi=True )