so I downloaded your drawing
As far as I can tell, there is nothing remotely related to the numbers you are citing
(closest is the middle thing where you have width = guard(-5mm) and locpinx = 1/2 endx-beginx....but even that should not
matter since you are putting in raw values in the geometry)
I am saying there is not a bug here, but it really looks like the cell settings are way way way off from what you trying to
accomplish. You have to realize that visio has a really arcane methodology.
not sure what you are trying to accomplish, so
If you want the line end to an constant offset, then geometry1.x1 = guard (width*0 + 3.4968mm) You need guard to make sure
recalcs dont overwrite the formula....you need width to make sure you have a reference point
if you want the line end to be a relative offset if greater than X....but have a floor then
geometry1.x1 = guard(if (endx-beginx > 2.19568mm, width*.1824, width*0+2.33mm))
if you want line end to always be proportional to width then
user.scale = <original width defined when developing the shape 6 months ago>
geometry1.x.1 = guard((user.scale/width)*(width*0+4.6673mm))
Based on the shapes, I really dont have a clue what you are trying to accomplish