Skip to main content
Question

DWG labels to Feature class attribute

  • April 11, 2013
  • 1 reply
  • 37 views

Hi folks,

 

 

how do I populate a user attribute in a writer from  text label in reader?

 

The reader is a dwg file.

 

 

Thanks in advance

1 reply

david_r
Celebrity
  • April 11, 2013
Hi,

 

 

have you exposed the format attribute "igds_text_string" from the reader?

 

 

You might also need "igds_rotation" and "igds_justification" (see this article for more info), depending on your usage.

 

 

The format attributes "igds_insertion_x" and "igds_insertion_y" will always contain the lower left coordinate of the text label (use a 2DPointReplacer to convert them to a point geometry), whereas the feature geometry from the reader will contain the insertion point relative to the justification.

 

 

Hope this helps.

 

 

David

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