Skip to main content
Question

How to read DWG file in FME with attributes data


Dear Support team,

We are trying to import Autocad(.Dwg) file data into Smallworld database by using FME. In FME if we read the DWG file it is not showing attribute data present in source file.

If we open DWG file in Autocade the attributes are visible as in image.

f we try to open same DWG file in FME workbench. Attributes list is not coming for maping with target database(Smallworld).

DWG file in FME Workbench:

We request you to please provide steps to read Autocade DWG file by using FME.

4 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

When you create the reader go in to the Parameters and set the Group Entities By option to "Attribute Schema"

You can remove the existing reader and add it again, but it's probably better to update the existing feature types. Go to Readers -> Update Feature Types and then select your DWG again, go in to the Parameters and change the Group Entities By option to "Attribute Schema" and it should automatically update the feature types.


lars_de_vries
Forum|alt.badge.img+10

When you look at your screendump, you'll see that the attribute list starts with 'OD'. This is an abbreviation for Object Data, which means that attributes can be stored on an object in a DWG. However you'll need to use the "Autodesk AutoCAD Map 3D Object Data"-reader to fetch these attributes.


lars_de_vries
Forum|alt.badge.img+10
redgeographics wrote:

When you create the reader go in to the Parameters and set the Group Entities By option to "Attribute Schema"

You can remove the existing reader and add it again, but it's probably better to update the existing feature types. Go to Readers -> Update Feature Types and then select your DWG again, go in to the Parameters and change the Group Entities By option to "Attribute Schema" and it should automatically update the feature types.

This option will work for properties stored on block definitions, but it won't work for Object Data.

 

 


apence231
Contributor
Forum|alt.badge.img+7
  • Contributor
  • May 22, 2019
lars_de_vries wrote:

When you look at your screendump, you'll see that the attribute list starts with 'OD'. This is an abbreviation for Object Data, which means that attributes can be stored on an object in a DWG. However you'll need to use the "Autodesk AutoCAD Map 3D Object Data"-reader to fetch these attributes.

Solved my problem! Of course there's an AutoCAD Object Data reader- FME has everything!

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