Skip to main content
Question

DWG labels to Feature class attribute

  • April 11, 2013
  • 1 reply
  • 62 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
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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