get_pos() and dxf.text error

88 views
Skip to first unread message

Atakan Alkan

unread,
Aug 22, 2020, 10:46:44 AM8/22/20
to python-ezdxf
Hi! I have an issue on getting some Text string and coordinates. This is my code for searching some specific text on a predefined y-coordinate.
pycode.png
arcParamMean is my reference y-coordinate. I want to append data in two different array seperated by this y-coordinate (Below or above that)(But its not the issue).
The problem is :
dxf.text command read text wrong. Example: "Eğim=-4.002%" (true text) , "Eğim=-4.002%%%" (output text)
get_pos() command read coordinates wrong. You can see on my Output screenshot that some of the text x-coordinates are same but it shouldn't be same. All of the texts ordered verticallay on same y-coordinate.pycode2.png
Reply all
Reply to author
Forward
0 new messages