cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Execute play and rewind properties by clicking a button

Ace_Rothstein
11-Garnet

Execute play and rewind properties by clicking a button

Hello there.

I would like to rewind a step of a sequence without clicking again on play button. Usually we click on the rewind button, sequence jumps a step back but then we have to click on the play button to start the animation. I want to click the rewind button once and then the sequence would go a step back and automatically start playing.

2 REPLIES 2

you can acheive this, with the help of Javascript (Current step)

Hello, I've been using what I call a "repeat" button for animations. You can bind multiple click events to a single button. So first bind the click event to the "rewind" property of the model, and then bind the same click event to the "play" property of the model. So now when you click the button, it will first rewind 1 step and then play with a single click.

 

- Mark

Top Tags