Scaling lines in Visio

Started by Skyranger, August 07, 2020, 07:36:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Skyranger

0


I trying to create scallable shapes in Visio I manage to set scaling for text, but when it comes to lines i cant make it work:

Here i have shape



I setup linewidth as described here http://visguy.com/vgforum/index.php?topic=5261.0

I have a ethernet switch shape created in real sizes and need that scale so it fit on page.

Now i set scale for a page to metric 1:5




So, when i did it, i get this:



So it did not scaled properly. How to scale this?

Surrogate

Quote from: Skyranger on August 07, 2020, 07:36:29 AM
I trying to create scallable shapes in Visio I manage to set scaling for text, but when it comes to lines i cant make it work:
May be this ancient russian article can help ? (read via Google Translate service)

Yacine

I just copied your formula in the lineweight field and it worked like a charm. cf. attachment.May be you should first modify the line width in the GUI?
Yacine

wapperdude

Assuming that you really want to (a) change linewidth by stretching shape width, not just by the GUI, and (b) preset the line thickness with the GUI,  this approach works just fine:
1) create a User section entry:  User.LnWt.
2) add this formula to the Lineweight cell:  =SETATREF(User.LnWt,SETATREFEVAL(SETATREFEXPR(6 pt)/Width))*Width

Visio 2019 Pro