These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

3D views and javascript

paszczak
paszczak's picture
Registered: Apr 10 2007
Posts: 2

Hello,
I'm using ACROBAT 3D and I'm trying to create button (including javascript) witch allows switch views created in acrobat.

My Product Information:
Acrobat 3D 7.0.9, Windows
thomp
thomp's picture
Expert
Registered: Feb 15 2006
Posts: 4411
You don't need JavaScript for this. "Goto a 3D view" is an option in the Actions pulldown for a button. Look on the "Actions" tab in the button's properties dialog.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

Shadow
Shadow's picture
Registered: Sep 13 2007
Posts: 12
Hello, is there no way to do this with JavaScript? I need it for a batch sequence, so every button I create, should switch to the same view from the model.
thomp
thomp's picture
Expert
Registered: Feb 15 2006
Posts: 4411
Well then, yes, you can automate creating 3D view buttons with JavaScript in a batch process. You'll need to download the Acrobat3D JavaScript Reference. I don't know off the top of my head what the functions for navigating view are, but I'm sure you can find plenty of info on 3D Corner (on this site), the Acrobat Developer site,

http://www.adobe.com/devnet/acrobat3d/

and the Adobe User to User Forums on 3D

http://www.adobe.com/support/forums/

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script