Your Ad Here

Go to: Synopsis. Flags. Return value. Python examples.

Synopsis

wireContext( <name> , [crossingEffect=double], [deformationOrder=string], [dropoffDistance=double], [envelope=double], [exclusive=boolean], [exclusivePartition=string], [groupWithBase=boolean], [holder=boolean], [localInfluence=double])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

wireContext is undoable, queryable, and editable.

This command creates a tool that can be used to create a wire deformer.

Flags

crossingEffect, deformationOrder, dropoffDistance, envelope, exclusive, exclusivePartition, groupWithBase, holder, localInfluence
Long name (short name) [argument types] Properties
crossingEffect(ce) double
Set the amount of convolution filter effect. Varies from fully convolved at 0 to a simple additive effect at 1. Default is 0.
envelope(en) double
Set the envelope value for the deformer. Default is 1.0
dropoffDistance(dds) double
Set the dropoff Distance for the wires.
holder(ho) boolean
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.
localInfluence(li) double
Set the amount of local influence a wire has with respect to other wires. Default is 0.
groupWithBase(gw) boolean
Groups the wire with the base wire so that they can easily be moved together to create a ripple effect. Default is false.
deformationOrder(do) string
Set the appropriate flag that determines the position in in the deformation hierarchy.
exclusive(exc) boolean
Set exclusive mode on or off
exclusivePartition(ep) string
Set the name of an exclusive partition.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Return value

None

Python examples

import maya.cmds as cmds

cmds.wireContext( 'wireCtx' )

  

Return to Autodesk Index


Your Ad Here