pymel.core.context.wireContext¶
- wireContext(*args, **kwargs)¶
This command creates a tool that can be used to create a wire deformer.
Flags:
Long Name / Short Name Argument Types Properties crossingEffect / ce float Set the amount of convolution filter effect. Varies from fully convolved at 0 to a simple additive effect at 1. Default is 0. deformationOrder / do unicode Set the appropriate flag that determines the position in in the deformation hierarchy. dropoffDistance / dds float Set the dropoff Distance for the wires. envelope / en float Set the envelope value for the deformer. Default is 1.0 exclusive / exc bool Set exclusive mode on or off. exclusivePartition / ep unicode Set the name of an exclusive partition. exists / ex bool Returns true or false depending upon whether the specified object exists. Other flags are ignored. groupWithBase / gw bool Groups the wire with the base wire so that they can easily be moved together to create a ripple effect. Default is false. history / ch bool If this is a tool command, turn the construction history on for the tool in question. holder / ho bool Controls whether the user can specify holders for the wires from the wire context. A holder is a curve that you can use to limit the wire’s deformation region. Default is false. image1 / i1 unicode First of three possible icons representing the tool associated with the context. image2 / i2 unicode Second of three possible icons representing the tool associated with the context. image3 / i3 unicode Third of three possible icons representing the tool associated with the context. localInfluence / li float Set the amount of local influence a wire has with respect to other wires. Default is 0. name / n unicode If this is a tool command, name the tool appropriately. Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.wireContext
Example:
import pymel.core as pm pm.wireContext( 'wireCtx' )