Some things I like to do with Acrobat 3D - how can I

Hi there,
I want to do the following two things in a 3D PDF:
- Disable the 3d toolbar. I want to present a Model which can be rotated, zooomed and moved by using the mouse but the viewer shouldn't be allowed to do anything else than that and the 3d toolbar should not be shown on top of the document even if the viewer clicks in it.
And second:
- I want the view reset to the standard view after a specific time of inactivity. For example if the viewer didn't move the mouse for 1 minute the view should automatically reset to the start pov.
I'm sure there must be a way to this using javascript but I have no idea how to do.
Would be really great if you can help.
Best regards
Sascha

Hello,
Here is a sample code, you can set it to any of the Named views. The following script sets the view to the first named view after 10 seconds of no mouse activity (over the 3D annotation):
var patience = 10; // number of seconds to wait until switching view
var counter = 0;
var mouseHandler = new MouseEventHandler();
mouseHandler.onEvent = function( event ) { counter = 0; }
runtime.addEventHandler( mouseHandler );
var timer = new TimeEventHandler();
timer.onEvent = function( event )
  counter += event.deltaTime;
if ( counter > patience )
   if ( runtime.viewCount > 0 )
    runtime.setView( 0, true );
  counter = 0;
runtime.addEventHandler( timer );
hope this can be helpful
Best Regards
William Gallego
A3D QE Team

Similar Messages

Maybe you are looking for

  • WBS Field Missing in Sales Order

    Hi, I am using ECC 6. I created a Sales order with a line item. I click on the line item and go to Account Assignment Tab. But the WBS field is missing. But in the Sales order overview screen i can see the column for WBS element which is in uneditabl

  • HP6032A Power supply GPIB problems

    I saw a reply some time ago to someone who was having trouble with an HP6032A power supply. I'm having trouble communicating reliably (reading from it, I think), and my system (Mac) hangs constantly. If I limit the reads, I can go for several days, b

  • How to trace other user's session?

    Dear Experts, I would like to trace other user's session, I am on Oracle 10g R2 (10.2.0.4) on a Windows box. I did search on google and found tons of articles explaining about tracing techniques. But unfortunately, trace file is not getting generated

  • Keynote, Audio file embedded on slide, properties such as file name?

    Any way to see the properties of the embedded audio file such as its name, or where it is located? I've converted from Powerpoint, but miss this RClick, Properties option to at least see the name of the file that is embedded.

  • SDM Server is not starting up in SAPMMC

    SDM is not starting up in SAPMMC, the status is stopped. If I look at developer trace the error msg is following. Any help !! [Thr 6048] Mon Aug 13 11:46:26 2007 [Thr 6048] JLaunchIExitJava: exit hook is called (rc = 16) [Thr 6048] ******************