pymel.core.general.affectedNet

affectedNet(*args, **kwargs)

This command gets the list of attributes on a node or node type and creates nodes of type TdnAffect, one for each attribute, that are connected iff the source node’s attribute affects the destination node’s attribute. In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
name (n) unicode  
   
type (t) unicode ../../../_images/create.gif
 

Get information from the given node type instead of one nodeFlag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.affectedNet

Example:

import pymel.core as pm

# Create a network of this transform node's attributes that affect
# each other
pm.affectedNet( 'transform1' )

# Create a network all of the transform shared attributes that affect
# each other
pm.affectedNet( t='transform' )

# Create a network of the revolve and shape node type attributes that
# affect each other
pm.affectedNet( t='revolve', t='shape' )

Previous topic

pymel.core.general.addExtension

Next topic

pymel.core.general.affects

Core

Core Modules

Other Modules

This Page