Hi guys:

  sorry for post this again, but I desparately needing for help.

my problem is I created three attribute in my custom locator node,
a MString attribute, a MMatrixAttribute,
and they are affecting a float attribute.

basically like this:
CHECK_MSTATUS( attributeAffects( MStringAttr,     floatAttr ) );
CHECK_MSTATUS( attributeAffects( MMatrixAttr,     floatAttr ) );

the node compiles fine, but when changing the Matrix and String
attribute,
the float attribute doesnt response, which means the node won't
re-"compute"..

also i got some error message like:
attributeAffects( MString,     floatAttr )
(kInvalidParameter): Object is incompatible with this method

attributeAffects( MMatrixAttr,     floatAttr )
(kInvalidParameter): Object is incompatible with this method

and if I set only the MString attribute affecting the float attribute,
the error becomes:
attributeAffects( MString,     floatAttr )
(kInvalidParameter): Object is incompatible with this method


Really appreciate your helps

-ling

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

Reply via email to