Skip to main content

Hi all,

In autocad, I have a file containing information I would like to merge.

Using the picture below will help to figure out the situation :

I have a block and texts. I want to add the text string "(1.00) Z=190.98" to a new attribute of my block.

Offsets between text insertion's point and block insertion's point are always the same offset x= 0.14 offset y = -1.25.

Then the next step is to compute the value. Ideally, the attribute must have the calculated value 191.26-1.40= 189.86.

 

Any ideas ?

Thanks

Arka

Use the coordinates of the block and use a vertexcreator (replace with point) to create the point with the offset. Use a PointOnPointOverlayer to identify the desired point. For the last part split the text of the value and use the arithmetic calculator to get the calculated value.


Use the coordinates of the block and use a vertexcreator (replace with point) to create the point with the offset. Use a PointOnPointOverlayer to identify the desired point. For the last part split the text of the value and use the arithmetic calculator to get the calculated value.

Hi @stalknecht,

Thank you for your answer, it works !

Now I have a problem to write the "new value" as attribute of the block.

What is the best way to fill in an attribute info ?


Hi @stalknecht,

Thank you for your answer, it works !

Now I have a problem to write the "new value" as attribute of the block.

What is the best way to fill in an attribute info ?

Please check the following link and examples: https://knowledge.safe.com/articles/22968/getting-started-with-autocad.html

 

 


Please check the following link and examples: https://knowledge.safe.com/articles/22968/getting-started-with-autocad.html

 

 

My problem is solved now (I was wrong in a transformer before the "writer").

 

Nevertheless, thank you

 

 


Reply