Skip to main content

Hello,

please, I need to solve one spicy problem. I have autocad_insert entity (block reference) composed by insert point and text point (label). Distance between these two point is variable, so I need to extract relative position of text point to block insert point. Is any possibility there to extract difference in X,Y?

Thank You so much!

Lubo

You should be able to do this using the ExpressionEvaluator or any other transformer that has the Arithmetic Editor.

The attribute values for the insertion and text points x and y) should be available if you expose them on the reader feature type.

Same for autocad_text_x_pos and autocad_text_y_pos


Yes, thank You so much! I solved it by non-exploding of block, then I expose X/Y of attribute label and then I used ExpressionEvaluator as You supposed to count difference between X/Y of attribute label and X/Y of insert point.

Thank You for tip!

Lubo


Reply