how to autosize textbox while updating text in dxf document using ezdxf

Viewed 17

I am new to ezdxf. I have an engineering drawing in dxf format. I have to modify certain text in the existing document. I have the updations required in a dictionary. I loop through all the TEXT entities and comparing whether it is in the dictionary. If so, I update it with the corresponding value using e.dxf.set() method. But if the new string is longer than the enclosed text box, it passes across. Is it possible to autofit the surrounding text box by any means?

0 Answers
Related