Copy link to clipboard
Copied
Hello all,
I created 3D animation pdf. I need to add buttons like play, pause, reset animation, play next step,play previous step.
I dont have much knowledge in java script. this is the first time im creating some scripts with help of google...
Somehow,successfully i created for Play and Pause animation but i got struck with remaining buttons.
var annot = getAnnots3D(0)[0];
annot.context3D.runtime.play();
If i use
var annot = getAnnots3D(0)[0];
annot.context3D.reset(); is not working for me.
and i have another query also , when ever i open the 3D pdf ,it started playing automatically.
This is my settings, how to stop automatically playing animation , I tried all the option from the above setting file.
Thanks in advance.
Copy link to clipboard
Copied
Hi,
Taking a quick look at the docs there is a play.
annot.context3D.runtime.play();
but there is not a reset, so I would not expect this to work.
annot.context3D.reset(); is not working for me.
Are you trying to reset the scene back to its starting position?
I do not see something obvious to adjust the 3d object play when open, can you provide a sample file?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
waiting for the answer....
Copy link to clipboard
Copied
Hi,
I have had a look and I can't see the solution, hopefully, someone else is able to shed some light for you.