Go to: Related nodes. Attributes.
This is the expression node. It takes an arbitrary list of doubles
as input and performs any legal MEL expression on them to generate
a list of double outputs.
Caution: Use of the 'setAttr' or 'getAttr' statements from within
an expression node can have unexpected results. Using
these statements bypasses the normal dependency graph
evaluation mechanism and may cause incorrect or incomplete
evaluation.
Node name | Parents | MFn type | Compatible function sets |
---|---|---|---|
expression | dependNode | kExpression | kBase kNamedObject kDependencyNode kExpression |
animCurve, animCurveUT, animCurveUU, animCurveUA, animCurveTT, animCurveTU, animCurveUL, resultCurve, resultCurveTimeToLinear, resultCurveTimeToTime, resultCurveTimeToUnitless, resultCurveTimeToAngular, animCurveTA, animCurveTL, animBlend, animBlendInOut
animated, attribute, evaluateNow, exprConnCount, expression, frame, input, internalExpression, lastTimeEvaluated, newFileFormat, object, objectMsg, output, time, unitOption
Long name (short name) | Type | Default | Flags | ||
---|---|---|---|---|---|
input
(in )
| double | 0.0 | |||
output
(out )
| double | 0.0 | |||
object
(ob )
| string | NULL | |||
attribute
(a )
| string | NULL | |||
expression
(e )
| string | NULL | |||
exprConnCount
(xcc )
| integer | 0 | |||
internalExpression
(ixp )
| string | NULL | |||
time
(tim )
| time | 0film | |||
frame
(frm )
| time | 0film | |||
lastTimeEvaluated
(lte )
| time | 0film | |||
evaluateNow
(xen )
| short | 0 | |||
animated
(ani )
| enum | 1 | |||
newFileFormat
(nff )
| short | 0 | |||
objectMsg
(obm )
| Message | n/a | |||
unitOption
(uno )
| enum | 0 | |||