vcanim.gif (8357 bytes)SW_exprValue
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 

 


SW_exprValue

Evaluates the right-hand part of an expression at the current time, and returns its value. This function supports all Softimage expressions.

package require SW

SW_exprValue expressionString [sceneID]

expressionString
Right-hand part of expression ( = is not allowed )
[sceneID]
Optional parameter. If it is missing then current scene is assumed.

Return Value

The value of the right-hand part of an expression.

Example

This example evaluates the distance between two spheres at the current time in the current scene.

SW_exprValue "ctr_dist(sphere1.,sphere2.)"
2.0

See Also

SW_exprValueT
SW_expression
SW_deleteExpressions

Behaviors Overview ] Behavior Evaluate ] Behavior Edit ] Debugger ] Console ] Find ] SAA Library ] SW library ] SWC library ] SWN library index ] SWU library ] Attributes Index ] Scripting Examples ]

copyright Video-Collage Inc.