Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

URL parameter link to specific location in file

3 ANTWORTEN 3
GELÖST
Antworten
Nachricht 1 von 4
sdurkee_sa
2934 Aufrufe, 3 Antworten

URL parameter link to specific location in file

How do you make the URL parameter link to a specific location in a file?

 

In Revit 2019 we have a generic annotation family which contains a URL parameter type.

 

For an example, open the “rac_basic_sample_project.rvt” project that comes with Revit. Those blue circles with a white question mark are generic annotation families which contain URL parameters. In this sample project the links are to HTML pages, but you can link to other file type like PDFs.

 

We have a PDF with headings (which act as bookmarks) and also has named destinations assigned at those headings. See attached.

 

If you open this file from your internet browser (e.g., Google Chrome), you can open the file at any one of these specific locations in the file. For example:

<folder>/Title.pdf                                           opens the file at the beginning

<folder>/Title.pdf#B-1                                   opens the file at the B-1 heading (bookmark)

<folder>/Title.pdf#nameddest=B-2             opens the file at B-2 (named destination)

<folder>/Title.pdf#page=3                            opens the file on page 3

 

In Revit, when you put a link in a URL parameter and select the three dots “…” in the field, then Revit will open the associated file. This works fine to open the file at the beginning, but I need to know how to make it open a file at a specific location.

 

Tags (2)
3 ANTWORTEN 3
Nachricht 2 von 4
barthbradley
als Antwort auf: sdurkee_sa
Nachricht 3 von 4
sdurkee_sa
als Antwort auf: barthbradley

That article describes how to use a URL parameter to link to a file, but the question is, how do you link to a particular location (bookmark, heading, destination, or page, etc.) within a file?

Nachricht 4 von 4
sdurkee_sa
als Antwort auf: sdurkee_sa

Found the solution with help from this link https://helpx.adobe.com/acrobat/kb/link-html-pdf-page-acrobat.html.

 

The "#" destination anchors do work, but the PDF has to be hosted on a website. Mapped drive letters or UNC will not work.

 

Moved the file to our SharePoint site and it works great.

• https://<folder>/Title.pdf opens the file at the beginning
• https://<folder>/Title.pdf#B-1 opens the file at the B-1 heading
• https://<folder>/Title.pdf#nameddest=B-2 opens the file at B-2 (named destination)
• https://<folder>/Title.pdf#page=3 opens the file on page 3

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report