Skip to main content

UPDATE: Managed to figure out what went wrong in my comment below the main post (TLDR: Used the wrong transformer and field value from my dataset)

 

Hi, so I'm trying to convert my annotation layer in my GDB files along side the point, polygon and line layers into DWG.

 

In my screenshot of my ArcGIS Pro instance, you can see the various labels above my polygons.

imageimageimageBut it looks like only 2 of them passed through to DWG when converted through Workbench.

imageIn my current workspace I'm using a LayerTypeField field in the attribute table of all of my layers I wish to converted to sort them into the correct flows (Points, Polygon, Lines, Annotation).image.pngThose values are exposed via an AttributeExposer parameter as you can see here:

imageThe annotation layers are very basic ones that are created from running Convert Label To Annotations within ArcGIS Pro itself and an additional field added that just contains "Annotation" as text for filtering purposes in Workbench (LayerTypeField).

 

At this juncture I just need the formatting of the DWG output to match what it is in the GDB, can someone please advice on what I need to do to get my Annotation data out to CAD properly?

My bad, I figured it out after posting the question:

 

Turns out I was using the wrong transformer and the wrong fields from my annotation layers:

 

image 

So I needed to extract FontSize (Which should be created by default whenever anyone creates annotation from label in ArcGIS Pro I think) from my source files.

 

I then use that to calculate the value when I create a new attribute called autocad_text_size. I also had to add autocad_color and set it to a default of 7 so the labels come out white.

 

This is how my CAD dwg file looks now:

image 

Polygon layer turned off below:image.png 

Not the prettiest but it's functional for now, but I'm open to anyone who might be able to advice on styling since I haven't figured that out yet.


Reply