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

 

 


SW_expression

A library function which creates an expression.

package require SW

SW_expression expressionString [sceneID]

expressionString
String with expression.
sceneID
Optional parameter. If it is missing then the current scene is the default.

Return Value

Procedure returns expression ID.

Example

Create expression sphere1.rotx=sphere2.rotx, where the variable whichSphere has the value 2

set whichSphere 2
2
SW_expression "sphere1.rotx=sphere$whichSphere.rotx"
Elem10

See Also

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