|
|
|
length(self)
Returns:
number of physical elements in the array, but only if they are
not connected. |
source code
|
|
|
|
|
|
|
__eq__(self,
other)
Compare plugs,handle elements correctly |
source code
|
|
|
|
|
|
|
mchildren(self,
predicate=lambda x: True)
Returns:
list of intermediate child plugs, [ plug1 , plug2 ] |
source code
|
|
|
|
|
msubPlugs(self,
predicate=lambda x: True)
Returns:
list of intermediate sub-plugs that are either child plugs or element plugs. |
source code
|
|
|
_mhandleAttrSet(self,
state,
getfunc,
setfunc)
Generic attribute handling |
source code
|
|
|
|
|
|
|
msetCaching(self,
state)
if True, the plug's value will be cached, preventing unnecessary computations |
source code
|
|
|
msetChannelBox(self,
state)
if True, the plug will be visible in the channelbox, even though it might not
be keyable or viceversa |
source code
|
|
|
|
|
mconnectToArray(self,
arrayplug,
force=True,
exclusive_connection=False)
Connect self an element of the given arrayplug. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
moutput(self)
Returns:
first plug that has this plug as source of a connection, or null plug
if no such plug exists. |
source code
|
|
|
minput(self)
Returns:
plug being the source of a connection to this plug or a null plug
if no such plug exists |
source code
|
|
|
|
|
miterGraph(self,
*args,
**kwargs)
Returns:
graph iterator with self as root, args and kwargs are passed to it.iterGraph. |
source code
|
|
|
miterInputGraph(self,
*args,
**kwargs)
Returns:
iterator over the graph starting at this plug in input(upstream) direction. |
source code
|
|
|
miterOutputGraph(self,
*args,
**kwargs)
Returns:
iterator over the graph starting at this plug in output(downstream) direction. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mict(self,
destplug)
Returns:
True if this plug is connected to destination plug ( in that order ) |
source code
|
|
|
mdc(self,
other)
Disconnect this plug from other plug if they are connected |
source code
|
|
|
|
|
mwa(self)
Returns:
Attribute instance of our underlying attribute |
source code
|
|