Question

Writing DGN8XFM, how to write polyline elements with XFM attributes?

  • 3 September 2018
  • 2 replies
  • 1 view

There is a Reader from DGN8XFM files, dgn with attributes linked to elements, but no writer to be able to obtain a DGN file with attributes to graphical elements? How to create a FME schema that writes DGN file with XFM attributes?


2 replies

Badge

Hi @liceicalavinia

while there is no convenient and user friendly method of writing XFM attributes with FME yet, you can use Bentley MicroStation Design (V8) Writer to write features with XFM attributes.

If your source features come from a DGN and already have XFM attributes on them, they will be written with the attributes by Bentley MicroStation Design (V8) Writer.

If you don't have the predefined XFM schema and XFM attributes on the features, you can define the schema and create the attributes using FME. XFM attributes and schema definitions are XML based, i.e. using AttributeCreator or any other relevant transformer, you could add new attributes and set their values to XML fragments with required information. Please take a look at http://docs.safe.com/fme/2019.0/html/FME_Desktop_Documentation/FME_ReadersWriters/igds/AttributeLists_xfm-Linkages.htm and http://docs.safe.com/fme/2019.0/html/FME_Desktop_Documentation/FME_ReadersWriters/igds/Attribute_Lists-xfm-Attr.htm for more information.

The easiest approach would be to copy XFM related attributes out of an existing XFM dataset which you could examine using Data Inspector.

Please contact Safe Support Team if you need assistance with this task.

 

Hi, This is very nice of you to answer!

I have the attributes of the graphic elements in a mdb database and I need to somehow write them in DGNXFM to be visible in Bentley Map Microstation. Do you think I can do that in FME schema

Thank you kindly!

Lavinia

Reply