Animation Functions
StartAnimation
Starts a named animation sequence of an object.
|
Only animations which are defined as “remote event” animations in Arbortext IsoDraw should be started with this function.
|
Introduced Iso7StartAnimation with Arbortext IsoView 7.0; replaced by StartAnimation in Arbortext IsoView 7.1. Iso7StartAnimation is deprecated and supported for backward compatibility.
Syntax
StartAnimationobjectsequenceoffset
Parameters:
object
Defines the object identifier as BSTR.
sequence
Defines the name of the sequence which should be started (or stopped) as string. By using the keyword $STOP instead of the name of a sequence, you can stop all running animations of the defined object.
offset
Defines the offset in seconds after which the animation will be started.
// starts SEQ_1 on object with ID "Z_01"
result = ivx1.StartAnimation ("Z_01", "SEQ_1", 0);
// starts SEQ_1 on object with ID "Z_02"
result = ivx1.StartAnimation ("id(Z_02)", "SEQ_1", 0);
// starts SEQ_1 on all objects with name "blue"
result = ivx1.StartAnimation ("name(blue)", "SEQ_1", 0);
// stops all animations on object with ID "Z_01"
result = ivx1.StartAnimation ("Z_01", "$STOP", 0);
// stops all animations on objects with name "blue"
result = ivx1.StartAnimation ("name(blue)", "$STOP", 0);