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.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

name (n) unicode ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 
Specifies the name of the effector.

Derived from mel command maya.cmds.effector

Example:

import pymel.core as pm

import maya.cmds as cmds

# 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 )

Previous topic

pymel.core.animation.dropoffLocator

Next topic

pymel.core.animation.enableDevice

Core

Core Modules

Other Modules

This Page