Skip to main content
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
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

Reply