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

 

 


SW_exprValueT

A library function which evaluates the right-hand part of an expression at a specified time, and returns its value. This function supports all Softimage expressions.

package require SW

SW_exprValueT time expressionString [sceneID]

time
The time (in seconds) at which to evaluate the expression.
expressionString
Right-hand part of expression ( so = is not allowed )
[sceneID]
Specifies the scene to use. This is an optional parameter, if it is omitted the current scene is assumed.

Return Value

The value of an expression.

Example

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

SW_exprValueT 2 "ctr_dist(sphere1.,sphere2.)"
2.0

See Also

SW_exprValue
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.