Saturday, December 31, 2011
In a previous post I mentioned that since Maya2011 they'd changed the way the offset attribute on sound nodes worked:
"So, 2 sets of attrs work together. Offset and EndFrame, SourceStart and SourceEnd. The Offset is no longer what it used to be, this is the start of the clip nothing more. If like us you have tons of sound code designed to offset audio then it's all stuffed! you need to manage both Offset and EndFrame at the same time now in order to shift a sound node along time."
Friday, December 16, 2011
This is a bug that we had quashed back in 2009 but we've just noticed that it reappeared in 2011 when we were debugging some really unstable animation scenes. Basically you have 2 nodes in Maya with array message links, you duplicate one node and that then generates an exponential amount of message links between the 2 original nodes. In the example below you end up with something close to 100 message links between the 2 original Cube and Cone....EEEEk!
import pymel.core as pCore Cone=pCore.polyCone() Cube=pCore.polyCube() Cone.addAttr('SampleSpace', at='message', m=True, im=False) Cube.addAttr('SampleSpace', at='message', m=True, im=False) pCore.connectAttr(Cone.SampleSpace,Cube.SampleSpace, na=True) for n in range(10): pCore.duplicate(Cone)