Not really, can you post a translation of the command prompt that you think wants the "width" input?
If the DTEXT Justification is set to Fit the command prompt would be "Specify first endpoint of text baseline:"
Sounds like the Justification is set to Fit, it's saved in each drawing.
TEXTJUSTIFY (System Variable) https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-Core/files/GUID-223C6FB9-B498-4BA9-8710-E1CB4889B8FC-htm.html
I also did some code, but my version strictly is doing rectangles in circular path - if there is central one it's also calculated giving bad result, and beside this it's also little buggy...