This is probably not actually correct, but if you change
self.attributeAffects(self.aaaAttr, self.inMeshAttr)
self.attributeAffects(self.inMeshAttr, self.tttAttr)
to just
self.attributeAffects(self.aaaAttr, self.tttAttr)
it does start triggering the compute for me. Doesn't make a lot of sense
For this my preference would be using PyMel doing something like this
import pymel.core as pm
selections = pm.ls(sl=True)
for node in set(selections):
allParents = node.getAllParents()
print allParents
Hope that helps!
On Thursday, September 13, 2018 at 1:21:24 PM UTC-7, yann19 wrote:
>
):
''' uninitialize the plugin'''
mPlugin = om.MFnPlugin( mobject )
try:
mPlugin.deregisterNode( TensionMapBlender.nodeId )
print "Unloaded plugin"
except:
sys.stderr.write( 'Failed to deregister node: ' + TensionMapBlender.nodeName
)
raise
On Wednesday, August 29, 2018 at 6:32:45 PM UTC-7, Mich
( tensionIndex, tensionColor )
print "Done", rgbValues
except:
print "Bad stuff"
# next!
multiInputArrayHandle.next()
On Wednesday, August 29, 2018 at 6:32:45 PM UTC-7, Michael Kato wrote:
>
> Hi all,
>
> I've having a load of trouble with this. I've managed to get some com
( tensionIndex, tensionColor )
print "Done", rgbValues
except:
print "Bad stuff"
# next!
multiInputArrayHandle.next()
On Wednesday, August 29, 2018 at 6:32:45 PM UTC-7, Michael Kato wrote:
>
> Hi all,
>
> I've having a load of trouble with this. I've managed to get some com
Hi all,
I've having a load of trouble with this. I've managed to get some complex
(for me anyway) compound attributes set up and connected to objects in my
scene, but right now I'm unable to get the "Blend Shape Multi Input"
attribute to arrive as a plug to the compute() method in my scripted