sriram viswanathan
09-06-2006, 05:00 AM
Hi All,
Apart from a `script job` or a `attribute triggered` method, is there any other method of firing `setAttr` expression via a plug ?
Example:
If i need to execute the following through an expression,
// Start of Expression
if (`getAttr transform.attribute`==0)
{
setAttr "node.plug" 0;
}
// End of Expression
the expression is time based, and only triggers to a time change or an helper attribute change(if the mel expression contains 2 plug connections within the same node). Is there any other way of triggering an expression irrespective of timechange/helper attr change???
Apart from a `script job` or a `attribute triggered` method, is there any other method of firing `setAttr` expression via a plug ?
Example:
If i need to execute the following through an expression,
// Start of Expression
if (`getAttr transform.attribute`==0)
{
setAttr "node.plug" 0;
}
// End of Expression
the expression is time based, and only triggers to a time change or an helper attribute change(if the mel expression contains 2 plug connections within the same node). Is there any other way of triggering an expression irrespective of timechange/helper attr change???