Freeze animation
May 18, 2018
07:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
May 18, 2018
07:36 AM
Freeze animation
Hi,
is it possible to stop an animation immediately?
In my case the animation just play the sequence till the end after clicking the stop button.
Thank you,
Jonny
4 REPLIES 4
May 25, 2018
05:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
May 25, 2018
05:55 AM
FYI: I found the JavaScript command stopping the animation.
scope.stop = function() { // currently "stop" will only stop playback of a playAll when it reaches the end of a step. scope.continuousPlayback = false; };
The stop function is not programmed to stop or to pause the animation immediately.
May 25, 2018
11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
May 25, 2018
11:31 AM
Have you tried calling the Reset service on the model?
$scope.app.fn.triggerWidgetService('model-1','reset');
--Clay
May 28, 2018
02:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
May 28, 2018
02:55 AM
Hey Clay,
the "reset-service" will reset my complete sequence. In my case I need a function that just pause the animation like a video player or like it is possible in Creo Illustrate.
May 30, 2018
11:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
May 30, 2018
11:30 PM
Ah, I see, I thought you wanted to completely stop the playback, not just pause it. I haven't found a way to do that.
--Clay
