Solved

Show metadata on autocad/civil blocks

  • 25 October 2017
  • 8 replies
  • 35 views

Badge +3

Within AutoCAD / Civil3D it is possible to add metadata on block definitions, not being attributes. Somehow I cannot access these metadata fields in FME. Does any one have a solution for that?

Figure 1. Blocks with attributes, this information is accessible within FME.

 

Figure 2. Metadata information of selected block shown in Figure 1.

 

I have tried enabling user defined properties and XDATA, but somehow I cannot acces the metadata.

I am using FME2017.1.1.

The final goal is to write these metadata properties into a new dwg. I know I can add these as attribute properties to the block definition, but that is not what the user wants as its final result.

Added you'll find the example DWG.

icon

Best answer by mark2atsafe 30 October 2017, 18:28

View original

8 replies

Userlevel 6
Badge +32

Looks like Object Data to me. You should be able to read this with the Autodesk AutoCAD Map 3D Object Data reader. I can't find the fields in the sample you attached tho...

Userlevel 4
Badge +25
I see an existing enhancement request (PR#11157) that asks to "add support for standardized XML Metadata". On the assumption that this is the same thing, then it looks like we don't currently support this. But I've asked the developers for confirmation of that and will let you know what they say.

 

Userlevel 4
Badge +13
Hello. Can you please clarify what application is being used, and what interface or command is being used to see those data attributes in Figure 2? They are not apparent in the attached drawing, with expected tools and inspection. Thanks.

 

 

 

Badge +3

 

@reganproulx Hi, I expect that Autocad Civil3D has been used to look at this information.

 

Badge +3

 

@reganproulx Hi, I expect that Autocad Civil3D has been used to look at this information.

 

The first drawing did not contain the extra information. The newly attached drawing does. gis-input-test2.dwg

 

 

In this case a shapefile was imported in an autocad dwg drawing. The Autocad Map3D function MAPIMPORT has been used to attach the information, which comes available in some kind of Object Definition, which cannot be accessed with FME.

 

Userlevel 4
Badge +25

Yes, if you read the data with the Map 3D Object Data reader (64-bit FME only) then you will get attributes for these features:

So I suspect if you use the Map 3D writer you'll be able to write these out too.

Badge +3

Yes, if you read the data with the Map 3D Object Data reader (64-bit FME only) then you will get attributes for these features:

So I suspect if you use the Map 3D writer you'll be able to write these out too.

I still need to test your suggestion, but I expect that it will be allright.

 

 

Badge +3

Thanks everyone for your input!

Reply