Skip to main content

Hi,

Does anybody have any experience in writing hyperlinks in an Autocad DWG?

The only mention in the documentation is rather sketchy and doesnt help much :S

http://docs.safe.com/fme/2015.1/html/FME_Desktop_D...

Any tips or info are welcome.

Itay

Hi Itay,

Hopefully I can provide some information that will help you with

your workflow! Just a little background info:

Hyperlinks

are stored as Extended Entity Data in your DWG if they are attached to blocks

or other entities like polygons. Please note, however, that in order for the

URL to be correctly stored in the EED the Regapp used/named (in the below case,

PE_URL) must be present in your DWG template file. Please also note that if the

hyperlink is attached to a text entity it is stored as a hyperlink field, which

FME does not access for reading or writing. As you can see in the below image,

there is a very specific format in the Extended Entity Data for how the

hyperlink is stored:

extended-entity-data-hyperlinks 

In order to successfully write

out a hyperlink in a dwg, you would need to replicate this structure in the

extended entity data. Attached is a

basic DWG (with no hyperlinks) to DWG (with hyperlinks) workspace to take a

look at:

acad2acad.fmwt

I hope this gives you some information to work with. Much of your workflow would also be dependent on your source data and desired output, so if

you have more specific questions with your use case please feel free to contact

us with a support request through

https://support.safe.com/knowledgeSubmitCase

with your workspace and source data.

Regards,

Annabelle


Hi Itay,

Hopefully I can provide some information that will help you with

your workflow! Just a little background info:

Hyperlinks

are stored as Extended Entity Data in your DWG if they are attached to blocks

or other entities like polygons. Please note, however, that in order for the

URL to be correctly stored in the EED the Regapp used/named (in the below case,

PE_URL) must be present in your DWG template file. Please also note that if the

hyperlink is attached to a text entity it is stored as a hyperlink field, which

FME does not access for reading or writing. As you can see in the below image,

there is a very specific format in the Extended Entity Data for how the

hyperlink is stored:

extended-entity-data-hyperlinks 

In order to successfully write

out a hyperlink in a dwg, you would need to replicate this structure in the

extended entity data. Attached is a

basic DWG (with no hyperlinks) to DWG (with hyperlinks) workspace to take a

look at:

acad2acad.fmwt

I hope this gives you some information to work with. Much of your workflow would also be dependent on your source data and desired output, so if

you have more specific questions with your use case please feel free to contact

us with a support request through

https://support.safe.com/knowledgeSubmitCase

with your workspace and source data.

Regards,

Annabelle

Hi @annabelleglas,

Thanks for the information and example.

I have managed to produce the required output. It did take me awhile to notice that the attribute output setting should be set to limited, so that basically the extended data would be created in the ws and not the writer.

Itay


hi @AnnabelleAtSafe,

just wanted to ask how can i attach a hyperlink on a KML output.

 

 

say, I have produced a KML file. and in the balloon, i would like to add a hyperlink to an image or file on our network. FYI, the KML file i have created can only be accessed when the user is on our network hence, the hyperlink should work. I am using GME 2016.1.2.1 build 16674

Thanks

Lex


hi @AnnabelleAtSafe,

just wanted to ask how can i attach a hyperlink on a KML output.

 

 

say, I have produced a KML file. and in the balloon, i would like to add a hyperlink to an image or file on our network. FYI, the KML file i have created can only be accessed when the user is on our network hence, the hyperlink should work. I am using GME 2016.1.2.1 build 16674

Thanks

Lex

You can add a HTML img tag: <img src="url_to_the_image"/>, or a clickable link: <a href="url_to_the_image>link text</a> (or both, just wrap the img tag in the a tag)

 

 


Reply