Question

I'm trying to rename AutoCAD layers. Reading from DWG and using a FeatureWriter to write to DWG. In between I have a SchemaMapper with Source and Destination layer names mapped. Using MapAttributes in SchemaMapper. Not successful.

  • 17 November 2022
  • 1 reply
  • 9 views

Badge +7
  • Contributor
  • 15 replies

I have used SchemaMapper successfully with CAD to GIS conversions but apparently CAD to CAD is different. The output DWG has all the layers in the DestinationLayer column of the crosswalk.xls as well as the SourceLayer layers. No redefinition takes place.


1 reply

Userlevel 1
Badge +11

Hi @nea​, can you try setting the SchemaMapper action to 'Map Feature Types' instead? I had success with this option to set my new layer names when I gave it try on my end with some sample data. On the writer side, I found that I had to fanout on fme_feature_type to get the output layers I wanted. Hopefully that works for you as well!

Reply