Skip to main content

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.

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.


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.


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.

 

 


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!

Reply