This is BUG that was reported and fixed a while ago. Do you have V18.2, Build 73.1 installed? When Line Width Units is set "mm" and Format was set to "Architectural" in the "Units in Workspace" section of "Options / Space Units", I would get this error.
DoubleCAD is also infected with this BUG, but they seem to deny that anything is wrong.
Designer, Deluxe, (Basic, Expert, Professional), Platinum
Windows 10 Pro (1909), 64-bit