Skip to main content
Question

Writing to a dwg block hyperlink attribute

  • January 21, 2013
  • 3 replies
  • 34 views

Forum|alt.badge.img
Hi,

 

 

I want to create a .dwg with clickable hyperlinks from a .shp file, however I can't see an attribute I can expose on the .dwg writer that can take the hyperlink attribute from the shp file.  Does anyone know is this is possible?

 

 

Also, bit of a secondary question (that may make the first one invalid!) , but could I write this straight to an interactive PDF?  (I know I can create it via (Acrobat / AutoCAD).  I'm not very familair with FME's PDF capability.

 

 

Thanks.

3 replies

davideagle
Contributor
Forum|alt.badge.img+21
  • Contributor
  • January 21, 2013
I'll tackle your second question so you can see where that takes you.

 

 

I'd suggest you have a look at the PDFStyler. I have done what you'd like to do in a limited way by making parts of a PDF hyperlinked (logos etc), though not specific geographic features on a map. The part of the Transformer to investigate is the "Identity" parameter and you'll see you can determine both a tooltip and a URL to resolve as either static values or values from existing attributes. Under the bonnet I think these values are setting the PDF format attributes "pdf_url" and "pdf_tooltip".

 

 

Hope that helps.

  • January 22, 2013
Hi,

 

 

I have once read out hyperlinks from a dwg.

 

The hyperlinks were in the format attributes of the inserts in autocad_extended_data_list{}.

 

So it may be possible to write them into this attribute to the blocks.

 

 

 

Good luck!

 


Forum|alt.badge.img
  • Author
  • January 28, 2013
Just a quicky belated thanks, the PDFStyler worked and is very easy to set up.  Thanks Dave and Gerhard also!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings