Skip to main content
Question

How can I keep values from an input autocad reader to a .shp writer?


I am trying to keep elevation values (attribute; autocad_elevation) of a .dwg file in my conversion to a shapefile. I specified in the writer parameters (under the user attributes tab) that the value should be ;left pointing yellow arrow to autocad_elevation. After conversion, I open the .shp in ArcGIS and see that all the attributes I specified are there, but still with no values. Any Help?

thanks!

4 replies

danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • October 25, 2018

Hi @hugo.crites

Did you rename the attribute in Shape file?

Like this:

Thanks,

Danilo


  • Author
  • October 25, 2018
danilo_fme wrote:

Hi @hugo.crites

Did you rename the attribute in Shape file?

Like this:

Thanks,

Danilo

Hi @danilo_fme, no I did not. I thought also that by linking the reader with the writer it would also link the attributes of the writer and the reader.... I think this is why my output attributes values were empty. Now it leads to another question; how can I bulk link attributes? I have hundreds of .dwg with an elevation attribute I want to carried over to my shapefile writer output. hope this is clear

 

 

thanks

 

 

 

 


mark2atsafe
Safer
Forum|alt.badge.img+44
  • Safer
  • October 25, 2018
hugo.crites wrote:
Hi @danilo_fme, no I did not. I thought also that by linking the reader with the writer it would also link the attributes of the writer and the reader.... I think this is why my output attributes values were empty. Now it leads to another question; how can I bulk link attributes? I have hundreds of .dwg with an elevation attribute I want to carried over to my shapefile writer output. hope this is clear

 

 

thanks

 

 

 

 

For them to be linked in bulk there are many ways.

 

  • Give the reader and writer attributes the same names. They will be linked by default
  • Give the reader and writer attributes similar names; eg ROADS -> roads. Use Right-Click > Auto Connect Attributes on the connection line
  • Use View > Windows > Attribute Connections to open a handy management tool
  • Use a lookup table in a SchemaMapper transformer. Check the knowledgebase for plenty of SchemaMapper examples
Hope this helps

 


danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • October 25, 2018
hugo.crites wrote:
Hi @danilo_fme, no I did not. I thought also that by linking the reader with the writer it would also link the attributes of the writer and the reader.... I think this is why my output attributes values were empty. Now it leads to another question; how can I bulk link attributes? I have hundreds of .dwg with an elevation attribute I want to carried over to my shapefile writer output. hope this is clear

 

 

thanks

 

 

 

 

Hi @hugo.crites

 

 

Great. The suggestion as mentioned you @Mark2AtSafe is good solution for your new question.

 


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