Skip to main content
Solved

Is it possible to extract linked documents from a DGN into GIS?


I have a DGN with linked word/excel/pdf documents and I am wanting to extract the filenames and connect to the relevant geometry within GIS. When I open the DGN in MicroStation I can see the linked documents but when I open in FME Inspector, they disappear. See attached image of links in MicroStation. I thought they may be pulled through into a 'linkage' field but they don't look to be.

Best answer by daveatsafe

Hi @oli2wd​,

The file linkage information can be found in the DGNV8 format attributes igds_xattributes{}.fullPath and igds_xattributes{}.fileName. It will take a little text manipulation to get clean file and path names out of these attributes, but this can be done using regular expressions in StringSearcher transformers:

Screen Shot 2024-01-05 at 2.41.08 PMI am attaching a workspace to illustrate the process.

View original
Did this help you find an answer to your question?

evieatsafe
Safer
Forum|alt.badge.img+20

Perhaps the link might be contained in the 'User Linkage' on the point features. Are you able to provide a sample of your DGN file for us to examine? If you do not want to share it publicly, perhaps you could submit a support case with us. Happy FMEing!

 

 

 

 

 

 


  • January 5, 2024
evieatsafe wrote:

Perhaps the link might be contained in the 'User Linkage' on the point features. Are you able to provide a sample of your DGN file for us to examine? If you do not want to share it publicly, perhaps you could submit a support case with us. Happy FMEing!

 

 

 

 

 

 

Thank you Evie. I will submit it via a support case if someone is able to take a look. Many thanks, Olivia.


daveatsafe
Safer
Forum|alt.badge.img+19

Hi @oli2wd​,

The file linkage information can be found in the DGNV8 format attributes igds_xattributes{}.fullPath and igds_xattributes{}.fileName. It will take a little text manipulation to get clean file and path names out of these attributes, but this can be done using regular expressions in StringSearcher transformers:

Screen Shot 2024-01-05 at 2.41.08 PMI am attaching a workspace to illustrate the process.


  • January 10, 2024
daveatsafe wrote:

Hi @oli2wd​,

The file linkage information can be found in the DGNV8 format attributes igds_xattributes{}.fullPath and igds_xattributes{}.fileName. It will take a little text manipulation to get clean file and path names out of these attributes, but this can be done using regular expressions in StringSearcher transformers:

Screen Shot 2024-01-05 at 2.41.08 PMI am attaching a workspace to illustrate the process.

This is just what we were looking for. Many thanks for your help.


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