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
(https://i.stack.imgur.com/ukdbC.png)
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
(https://i.stack.imgur.com/QtzpT.png)
So, when i did it, i get this:
(https://i.stack.imgur.com/SH6v8.png)
So it did not scaled properly. How to scale this?
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 (https://surrogate-tm.github.io/digitall/articles/article2.html) can help ? (read via Google Translate service (https://translate.google.com/translate?sl=ru&tl=en&u=https%3A%2F%2Fsurrogate-tm.github.io%2Fdigitall%2Farticles%2Farticle2.html))
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?
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