Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
[Archived] AskInga Wiki Linking to external documents
    • Sign In

    • -AskInga
      • +3D MicroStation
      • +AccuDraw Secrets
      • +Animation - Rendering
      • +Behind The Scenes
      • +Cells
      • +Colours
      • +Conversion - Translation
      • +Coordinate Input
      • +Design Settings
      • +Dimensions
      • +DWG
      • +EDG
      • +Element Manipulation
      • +Element Properties
      • +Element Selection
      • +Freeware - Shareware
      • +Interface Look And Feel
      • -Internet - E-Links - Links
        • Customize action for MicroStation On The Web - Bentley Library button
        • Drive MicroStation from a webpage using UstnForm protocol
        • Google Earth KML or KMZ
        • Keyin to access a website from withing MicroStation
        • Link multimedia files to graphical elements with this macro
        • Linking elements to a webpage
        • Linking to external documents
        • Links on elements
        • Understanding and using NTBang
        • UstnKeyin protocol
      • +Keyins
      • +Levels
      • +Line Styles
      • +Models
      • +MSM Archive
      • +Other
      • +Presentations
      • +Printing - Plotting
      • +Programming - Automation
      • +Rasters - Images
      • +References
      • +Tags - Data Fields - Fields
      • +Text - Fonts - Annotation
      • +Views
      • +Windows - Interacting With
      • +Workspaces - Configuration
    • graffiti

     
     Questions about this article, topic, or product? Click here. 

    Linking to external documents

    AskInga logo

    Original Article Date: March 2004

    Updated:  December 2010

    MicroStation V8i:  To link to external documents such as spreadsheets, PDFs, and images, select Add Link to Element  from the Organize task and choose From File  as the Type.

    Select the browse button and choose the file to link from the Create Links dialog. Note that this dialog allows you to select from a wide variety of file format in addition to selecting multiple files as shown:  

    When the files have been selected, click Open  and the Link Target dialog will open showing the selected files.  At this point drill into the files and choose the individual components to link to.  For example, a sheet from a spreadsheet, a title in a document, or a specific model in a design file. 

    Click OK and immediately identify the element to attach the links to.  You can confirm the attachment by simply hovering your cursor over the element and reading the content in the pop-up balloon.

    To open the linked document (ie: follow the link) simply do a right-click on the element while using the Element Selection tool and choosing Follow Link from the pop-up menu.  The selected document will then open in its own application.  While note shown, you can also link to Google Earths KML or KMZ files in which case, Google Earth would open and fly to when followed from MicroStation.  Way cool stuff!

     

     

    MicroStation pre-V8i:  If you're using an older version of MicroStation, you can link to external documents using one of the methods described below.

    Method #1 - Linking to External Documents via Internet Explorer:
    To quickly link an external document to a graphical element, you can attach an E-Link that contains a local URL to the document. When the link is followed, MicroStation will launch Internet Explorer which will either display the contents of the file or offer it for downloading. This technique can be used on nearly all file formats including the ever-popular DGN, XLS, TXT, DOC, PDF, GIF, and JPG


    For example, to link to a PDF file - follow these easy steps:

    Go to Tools > Engineering Links open the E-Links tool box.

    Select Attach Engineering Link
    Keyin the local URL of the desired file as well as a description.

    Select and accept either a single element or an entire selection set.

    NOTE:  If file://filename.ext  doesn't work, try file:///filename.ext

     

     

     

    As mentioned above, following this link will kick off Internet Explorer and the linked document will be displayed for your viewing pleasure. (To reduce clutter, I have removed the standard toolbars that typically display when viewing a PDF file through Internet Explorer.)

     

    Method #2 - Linking to External Documents Directly (without using Internet Explorer):
    If you prefer to link to external documents directly and not use Internet Explorer as a go-between, you'll have to utilize the MDL application called NTBang in conjunction with the ustnkeyin protocol.

    Before proceeding, please aquaint yourself with both NtBang and the ustnkeyin protocol by reviewing the following articles:
    Understanding and Using NTBang
    Engineering Links #3 - UstnKeyin protocol

    Once NtBang is installed and configured, you can create compound keyins using the ustnkeyin protocol in conjunction with specialized NTBang keyins to execute the appropriate application to open the target file. For example, in older versions of MicroStation, your E-Link tag may look like this: ustnkeyin://!start excel d:\data\NiceData.xls

     

     

    While in newer MicroStation, the E-Link tag would be:
    ustnkeyin://%d:/data/NiceData.xls

    Note: For files with spaces in the name, you may need to put the file name in quotations.
    ustnkeyin://%"d:/data/Nice Data.xls"

     

    Notice that in each case the E-Link tag command starts with ustnkeyin and is followed by a system command of sorts. Using this technique you'll be able to start and open external documents by simply poking on an element with the Follow Engineering Links tool.

    AskInga Article #186

    • Internet ELinks Links
    • Askinga
    • Share
    • History
    • More
    • Cancel
    • CTennyson Created by Bentley Colleague CTennyson
    • When: Thu, May 29 2008 9:55 AM
    • Inga Morozoff Last revision by Bentley Colleague Inga Morozoff
    • When: Wed, Dec 15 2010 4:02 PM
    • Revisions: 12
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies