Adding hyperlinks to objects in 3D PDF

Hi everyone,
I'm trying to figure out if 3D PDF has the capability to import a number of individual machine models (made in SolidWorks) to create a 3D layout of a facility, and then make it so people viewing this layout can click (or doubleclick) on a machine and have that open a web page (or another .pdf file)...are there javascript routines that get called when one of the objects is clicked/doubleclicked? If so, can that script be used to open up a url?
Any help would be appreciated,
Thanks,
Jon Fournier

On second thought, here is the an example code for adding hyperlinks to objects. It will be very tedious to do this for a huge number of parts. If metadata could be stored (no such luck) in the u3d file, this process would be very easy.
- Greg
http://www.immdesign.com
The u3d file and pdf example are available using the links:
http://www.immdesign.com/templates/hyperlink.pdf
http://www.immdesign.com/templates/robotHand.u3d
Parts of the code below were given to me by Grayson Lang.
The code below must be added as a document level javascript
use the menu - Advanced->Javascript->Document Javascript...
// -------- Start of Document Script
initialize3D = function ()
var a3d = getAnnots3D(0)[0];
var c3d = a3d.context3D;
if ( a3d.activated )
app.clearInterval( timeout );
c3d.runtime.doc = this;
c3d.runtime.app = app;
var timeout = app.setInterval( "initialize3D()", 200 );
// -------- End of Document Script
// -------- Start of 3D Script
// Save this code in as a .js file and use it as the default
// script when inserting the u3d file into your PDF file
// ugly code to add hyperlinks on selection of an object
// this will only work with URLs and will not work for
// just openning any old file
// format for the hyperlink array -
// hLinks["the object's name"] = "file URL"
var hLinks = new Array;
hLinks["fingertip-1"] = "http://www.immdesign.com"
hLinks["fingertip-2"] = "http://www.myroombud.com"
hLinks["fingertip-3"] = "http://www.adobe.com"
function onSelection( objName ) {
if ( typeof( hLink = eval( "hLinks['" + objName + "']" ) ) != 'undefined' ) {
if (runtime.app) { runtime.app.launchURL(hLink); }
// ack! we have to create our own "pick" function since there is no way
// to get the selected object from the Acrobat pick right now
var downX = -999999999999;
var downY = -999999999999;
var mouseDown = 0;
myMouseHandler = new MouseEventHandler();
myMouseHandler.onMouseDown = true; //this prop is true by default
myMouseHandler.onMouseUp = true; //this prop is true by default
myMouseHandler.onMouseMove = true;
myMouseHandler.reportAllTargets = false;
myMouseHandler.onEvent = function(event)
// capture mouse down location
if ( event.isMouseDown ) {
downX = event.mouseX
downY = event.mouseY
mouseDown = 1;
else {
// check if mouse up is the same location as mouse down
if ( event.isMouseUp ) {
if ( downX == event.mouseX && downY == event.mouseY ) {
if ( event.hits.length ) {
objName = event.hits[0].target.name;
onSelection( objName );
downX = -999999999999;
downY = -999999999999;
mouseDown = 0;
//Register the handler and turn the mule on
runtime.addEventHandler(myMouseHandler);
// ------ End of 3D Script

Similar Messages

  • Adding hyperlinks to a batch of PDFs

    Hi,
    I have a directory full of PDF files and need to add a link to the top of at least the first page of each file (every page might be better) to acknowledge and link back the source of the files. That is, I need a link saying "File supplied by Blah", where "Blah" is a hyperlink to Blah's website. What's the best way to do this? I have access to Acrobat 8. I did try a solution using Microsoft Word, but that causes a tenfold increase in file size which is not ideal in this situation.
    Also since I have such a lot of files, is there a way to add the same link to a whole batch?
    Thanks very much,
    Michelle

    Sorry, I probably should have said--I am a complete novice with this stuff. Can you please explain in a step-by-step fashion exactly how to do this?
    Thanks,
    Michelle

  • Please advice on adding 3D-animation files into a PDF with Acrobat Pro DC.

    Hello,
    Where is the button animation in Acrobat Pro DC?
    Can you give me advice on adding 3D-animation files into a PDF with Acrobat Pro DC.
    I have Acrobat PRO DC .
    Thank you.

    Hi George,
    I just tried adding the files as attachments; however I didn't like doing that because it increased the file size of my PDF document quite a bit. 
    I'm not sure if you're familiar with the "Insert Object" command in MS Word, but I want to do the same thing in my PDF document...but the key is, anyone must to be able to open the embedded file from any location.
    I created an MS Word document with several embedded objects.  I was later asked to PDF the Word document, but since embedded MS Word objects do not migrate to the PDF, I am now trying to embed the same files I embedded into my Word document into my PDF document over top of the icon image.  The file types I'm trying to embed include MS Word, Excel, PowerPoint, and Adobe PDF.  Does this make more sense?  I want to create a hyperlink over top the icon image that was PDF'd from the MS Word document which allows any user to click on the link and open the separate file.

  • Hyperlinks to XLS, DOC, and PDF files that are included in a .chm file work intermittently.

    SUMMARY
    Hyperlinks to XLS, DOC, and PDF files that are included in a
    .chm file (and the Baggage Files) only work intermittently. The
    only solution appears to be deleting the Temporary Internet Files.
    PROBLEM
    1. I place the XLS, DOC, or PDF file in the Windows
    sub-directory that corresponds to the RoboHelp project sub-folder
    where the topic in which I’ll place the hyperlink exists.
    2. I open the help project in RoboHelp HTML.
    3. I right-click on the project’s Baggage Files
    sub-folder that corresponds to the Windows sub-directory in which I
    placed the XLS, DOC, or PDF file (in step 1).
    4. I import the XLS, DOC, or PDF file.
    5. I open the topic in which I’m going to place the
    hyperlink in the WYSIWYG editor.
    6. I “drag and drop” the Baggage File into the
    topic (in the WYSIWYG editor) to create a link to it.
    7. I save the changes and then generate HTML (.chm) help.
    8. I open the .chm file and click the hyperlink. The XLS,
    DOC, or PDF file may or may not open.
    9. When the hyperlink works correctly, for DOC and XLS files,
    a “File Download – Security Warning” dialog box
    appears asking, “Do you want to open or save this
    file?”. The buttons that are available are
    “Open”, “Save”, and “Cancel”.
    These buttons work then as one would expect. (When the hyperlink
    works correctly for a PDF file, it simply opens the PDF file in a
    new window; there’s no prompt to save, open, or cancel.)
    10. When a hyperlink does NOT work, for DOC, XLS, and PDF
    files, no dialog box or other visual message is displayed. Instead,
    the sound that is associated with the “Exclamation”
    program event is played (the “Windows XP
    Exclamation.wav” file is the WinXP default).
    Other Notes:
    - The hyperlinks ALWAYS work when I view a topic using the
    “View Selected Item” function (Ctrl+W) in the RoboHelp
    HTML project.
    - Once a hyperlink stops working, it will not start working
    again until I delete all the Temporary Internet Files.
    - A hyperlink will stop working even if Internet Explorer
    (iexplore.exe) is closed the entire time.
    WORKAROUND
    Through trial and error, I have discovered that if a
    hyperlink stops working, I can get it to work again using the
    following steps:
    1. Leave the .chm file open.
    2. Open Internet Explorer.
    3. Click Tools>Internet Options….
    4. From the “Internet Options” dialog box, select
    the “General” tab.
    5. Under the “Temporary Internet Files” section,
    click the “Delete Files…” button.
    6. From the “Delete Files” dialog box, select
    “Delete all offline content” and then click
    “OK”. The files are deleted and the “Delete
    Files” dialog box closes.
    7. Click “OK” to close the “Internet
    Options” dialog box.
    8. Without closing Internet Explorer and without re-starting
    the .chm file, all the hyperlinks that didn’t work before
    will now work.
    GENERAL SYSTEM INFORMATION
    - Windows XP Pro, SP2
    - Internet Explorer 6.0.2900.2180
    - RoboHelp X5, 5.0.2 Build 801
    - HTML (.chm) help project files exist on my local machine
    - HTML (.chm) help file is run from my local machine
    - Project is under RoboSource version control
    TEMPORARY INTERNET SETTINGS
    - “Check for newer versions of stored pages” is
    set to “Automatically”
    - “Current location” for the Temporary Internet
    files folder is set to “C:\Documents and Settings\My
    Username\Local Settings\Temporary Internet Files\”
    - “Amount of disk space to use” is set to
    “594” MB
    “View Files…”
    - An XLS or DOC file will be listed here if I click its
    hyperlink and then click either “Open” or
    “Save” from the “File Download – Security
    Warning” dialog box.
    - A file will appear here even if I click “Save”
    and then click “Cancel” from the subsequent “Save
    As” dialog box.
    - If I click “Cancel” from the “File
    Download – Security Warning” dialog box, the file does
    not appear in the Temporary Internet Files folder.
    - When a file does appear in the Temporary Internet Files
    folder, its Internet Address is displayed similar to the following:
    “ms-its:C:\PrimaryProjectFolder\ProjectName.chm::/SubFolderName/FileName.xls”
    “View Objects…”
    Here’s a list of all the program files that appear:
    - “Microsoft Office Template and Media Control”
    (Last Accessed 12/13/06) (Version 12,0,6024,0)
    - “Shockwave ActiveX Control” (Last Accessed
    12/14/06) (Version 10,1,4,20)
    - “Shockwave Flash Object” (Last Accessed
    12/18/06) (Version 9,0,28,0)
    - “Windows Genuine Advantage Validation Tool”
    (Last Accessed 12/14/06) (Version 1,5,722,0)
    - “WUWebControl Class” (Last Accessed 12/13/06)
    (Version 5,8,0,2469)
    Today is 12/18/06 so the only program file that is listed as
    having been “Last Accessed” today is the
    “Shockwave Flash Object”.
    REQUEST FOR HELP
    I really want to include certain PDF, DOC, and XLS files in
    their native format in a .chm file. However, I need a better
    solution to my problem than the one I discovered. What I really
    want is to avoid the entire problem altogether.
    Have anyone seen this before or have any suggestions?

    You wont be able to do that. The embedded objects would appear as images only.

  • Adding hyperlinks to CP4 text

    Can anyone help with advise on how to add a hyperlink to text
    in Captivate 4. The hyperlinks from PowerPoint seem, to work, but I
    can't see a way to add a hyperlink in the text field to an external
    website.

    Hi
    Ok I was trying to record it, not working
    Make sure that you've copied or saved the pdf files are in the web site folder first
    1 insert text,
    2 with this text, create a fake link, blue and underline
    3 click on Click box in the tools box
    4 resize the click box over the fake link, I only keep the hint Type hint here (I deleted the 2 others) and I type Click on the link, in French Cliquez sur le lien
    5 click box is still selected, then in the left menu select Action tab
    6 In drop-down menu On success select Open url or file
    7 Click to browse, click on file or type the url
    8 Click on the drop down menu (arrow), click and select New so that way it will opens in a New browser window.
    When you export in swf
    You will have, at the end of the exportation, to copy paste manually the files in the web folder where is the swf file.
    Now we have a new problem. I didn't have this problem with all the projects published, but it happened once. Also, once on the server, the link would not open for that reason, see this blog. Still working on it. 
    http://sorcererstone.wordpress.com/2009/06/19/when-captivate-links-don t/
    sophie
    Date: Mon, 6 Sep 2010 19:21:40 -0600
    From: [email protected]
    To: [email protected]
    Subject: Adding hyperlinks to CP4 text
    Can someone provide me to the steps of adding hyperlinks
    to CP4?
    >

  • Can I hyperlink an object?

    Is there a way to hyperlink an object on Pages?

    I managed to make a text box the size of the object.
    Place the text box on the object.
    Fill it with lines of spaces the full width of the box.
    Link those spaces at text.
    bass ackwards but it worked and exported to a pdf that worked.

  • Word 2000 hyperlinks don't work in .pdf created with Acrobat 9 Pro

    I'm new to Adobe Forums, so please overlook the effrontery of my posting a query previously discussed. Perhaps someone can simply reply with a link to the prior discussion. I have installed Acrobat 9.2 Pro in 2 computers, one running XP64 Pro, the other XP32 Pro. Word 2000 is installed in both. All Word hyperlinks work fine, but after .pdf conversion using Acrobat 9.2 Pro, none of these work. In 'Preferences', I have navigated Convert to PDF > Microsoft Office Office Word > Edit Settings > Add Links to Adobe PDF File and confirmed that the Add Links feature is enabled. Having ascertained that this glitch is not specific to either XP64 or XP32 operating systems, I uninstalled Acrobat 9.2 Pro from the XP32 computer and reinstalled Acrobat 6.1 Pro. Then using the same Word 2000 document, I converted to .pdf using Acrobat 6.1 Pro, with no problems whatsoever. This looks like a serious bug in Acrobat 9 Pro, which the telephone support folks have acknowledged. Alas, they won't give me the tiniest clue how to resolve it, nor any workaround, but merely refer me to AdobeForums.com for help. I suspect a corrective patch or 'upgrade' will be forthcoming, but meanwhile, if anyone knows of a workaround, please enlighten me. Thanks. /rmbrown

    Thank you, CtDave, for your speedy reply and for the 'Acrobat Technical Evangelist' knowledge base article. Word 2000 is one of Microsoft's masterpieces - by disabling 'autosave', the application is totally stable, does not require 'activation' by Microsoft. Acrobat 9 enables 'saving' of interactive .pdf forms, a most valuable feature and one much appreciated by anyone completiing such forms. There must be more to this issue than 'incompatibility', because I can create a test Word 2000 document, hyperlink a valid URL, convert to .pdf with Acrobat 9, and the hyperlink works fine in Acrobat 9. When I attempt to do this using a much more complex Word 2000 document, embedded with scores of hyperlinks, these links fail to work following conversion to .pdf with Acrobat 9, but work fine following conversion to .pdf with  Acrobat 6. I can then use Acrobat 9 to open the .pdf created with Acrobat 6, and successfully edit any of these fully functional hyperlinks using the 'Link tool'. I don't know who prepared the 'Acrobat Technical Evangelist' article (AF1908DCd01) - no credits were cited, and I'm far from certain that this authentically belongs to Adobe's knowledge base. So I appreciate your sharing this information with me, but I cannot say that my question has been definitively answered. If you have any further information or tips, please reply in this thread. /rmbrown

  • Hyperlinks not saved correctly in PDF and Excel

    Hi,
    I have a few reports with hyperlinks to other reports that contain multiple input parameters, which makes the links very long. ( greater than 400 characters )
    When the reports are saved as excel, I am unable to invoke the child report on clicking the link as the link is not saved entirely ( can see that when i try to edit the hyperlink in excel ).  Therefore the child report opens but prompts for inputs as not all the inputs are passed
    When saved as pdf, the link is not saved correctly and i cannot invoke the child report at all
    Please can you suggest a solution/workaround? Alternately is it possible to disable the hyperlinks when saved as excel/pdf?
    Regards
    Sameer

    Hello,
    I think this is a limitation in Excel where URL syntax has to be 255 characters or less
    In order to prove that it's coming from excel and not BO, try in excel to create a false hyperlink which contains more than 255 characters.
    A workaround might be to modify the cell as text and will not be recognized as a URL. So you should get it entirely.
    Please let me know if it helps you
    Regards,
    Philippe

  • I'm trying to get organized and I just added a bunch of books and pdfs to my itunes library. They were all added immediately to my ipad and iphone even though, itunes automatically putting books on my idevices

    I'm trying to get organized and I just added a bunch of books and pdfs to my itunes library. They were all added immediately to my ipad and iphone even though I did not want this. I added them to itunes using add to library and I have both devices set to sync only selected books.
    How do I do this in the future so this doesnt happen? Its a lot of work to now manually erase them from each device and it sent my phone over capacity.
    thanks

    I dont see the difference in the posts. I dont think theres anything inaccurate or misleading about what I wrote. The items were immediately added to my ipad and my iphone, even though I have them both set to sync only select items. As soon as I added new titles to my itunes library, they were immediately added to the devices. Not on the next sync. Immediately. Both devices were plugged into the computer at the time. Sorry if I failed to mention they were plugged in but I dont see the signifigance youre making out of it. The problem persists anyway.
    Now that I did a test without the devices plugged in, the new items were still added as soon as I plugged my devices into the computer ( I do not have them set to sync over wifi).
    Since I have both devices set to manually select items to sync, of course I want to manually select new items to sync. For instance, I am not going to read any of these magazines or books on my phone, ever, and I dont want to waste valuable space with them.
    So I'm trying your advice:
    I just tried deselecting sync books. It erased all content from ibooks on my device. I then dragged
    one title onto the device, and it just goes back to syncing select books, with the one title selected.
    It appears that wont work to solve my issue. The next time I add something to itunes it will be put on my phone. Is this really something most people want? To select to manualy control what content is synced, but then have things automatically added. It seems inconsistent to me.

  • Help keeping hyperlinks active when exporting as PDF!

    Any ideas on how to maintain the bookmark and figure hyperlinks when viewed as a PDF?.. The links work fine on the iPad and within iBA but once exported as a PDF links will not work on my Mac or other computers the PDF is sent to. Apple's support page says hyperlinks should work, however I have not had any success with them. Does anyone have any suggestions on how to get them to work?
    Thank you.

    None work for me.
    If that's critical for an ebook, use another tool such as Pages, InDesign, calibre, etc.
    Ken

  • How do I embed a pdf document into an existing pdf so that the user double clicks on the pdf object within the pdf and it opens? i've looked everywhere on various forums and tried attachments - but still not working. Thanks

    I've tried various methods but to no avail. I have a pdf document and within the pdf I'd like to embed a couple pdf documents so that all the user has to do is double click on the pdf object inside the pdf and it opens in a new window. I've tried using attachments to do it and linking it...but to no avail. Anyone know how to do? I'm using Acrobat Pro Version 11. Thanks

    The "embed" feature common to MS Office applications is not applicable to PDF (for the why and wherefore of PDF get comfortable and read the ISO Standard for PDF - ISO 32000-1:2008).
    You can insert other PDF files' pages into any given PDF.
    You can attach files of supported formats to a PDF (of course a PDF is supported).
    You cannot "embed". So, nothing is broken.
    Be well...

  • Text Object Error in Pdf based print forms

    Hello Friends,
    I am trying to include a text object in Adobe PDF-based print form.
    In the context, I have created a node for the text. I chose the Text Type as “Include Text”. I am able to choose the required Text Object and Text ID from the respective search helps. When trying to activate the form, I am getting an error saying that I did not specify a text name. I tried to rectify this error but could not do so.
    Please help me out on how to rectify this error.
    Points will be rewarded for useful answers.
    Thanks,
    John.

    There is no need of activation for standard text... save will do...
    Also note: standard text is client dependent... you need to attach to your transport request manually to move between clients...
    Close the thread once your question is answered.
    Regards,
    Sairam

  • I saved a word document with hyperlinks in it as a pdf.  When following the links in the pdf, i can't the browser to go back to the pdf.  Help ..

    I saved a word document with hyperlinks in it as a pdf.  When following the links in the pdf, i can't the browser to go back to the pdf.  Help ..

    You cannot save word files to pdf using reader. When you click a link (in Reader or in the browser using the Reader plugin) you open the url in your browser (what browser)? We need detailed information to help.

  • Hyperlink to specific page in PDF doesn't work in Safari

    Hyperlink to specific page in PDF doesn't work in Safari

    Here is the URL http://www.soka.edu/files/documents/academics/academic-catalog-2013-2014.pdf#page=83
    It works in Windows machine but not in ipad safari.
    Thank you,
    Rutvi

  • CS4 hyperlinks are inactive on exported PDF

    Ok, I have hyperlinks to URL's on my Indesign CS4 document.
    I selected the text, clicked new hyperlink, link to URL and unchecked shared destination and selected in character style my saved hyperlink style... then pasted the URL address into the destination. When exporting as PDF I have checked off to include hyperlinks.
    When the new PDF is opened in Preview the link "appears" active, but does not forward to the webpage of the hyperlink.
    WHAT IS WRONG ???

    AND I have downloaded the latest version of Acrobat Reader X, and when I select a live hyperlink I get a notice if I want to connect to the linked site, and when I select yes I am still not directed anywhere... it's a dead-end.
    It seems like something has changed within InDesign CS4 within the last two months, now there seems to be a hyperlinkage inability for PDF's.
    It worked fine for me before this time just using basic Preview... and now nothing.
    And I need this PDF by the end of day

Maybe you are looking for