If you create an array attribute with MFnAttribute::setWorldSpace, then it
will get marked dirty when the world transform changes.

Chad

On Wed, May 5, 2010 at 9:24 AM, Ryan <[email protected]> wrote:

> What's the best way to monitor a shape node's transformations? I'd
> like for Maya to call a callback method whenever the world matrix
> attribute changes on a specific shape node. I've tried both
>
> addNodeDirtyPlugCallback
> addAttributeChangedCallback
>
> from MNodeMessage. But, neither will make calls when the transform
> node for the shape node undergoes a transformation.
>
> Thanks,
> Ryan
>
> --
> http://groups.google.com/group/python_inside_maya

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to