Author Topic: Scaling lines in Visio  (Read 156 times)

0 Members and 1 Guest are viewing this topic.

Skyranger

  • Guest
Scaling lines in Visio
« on: August 07, 2020, 02:36:29 AM »
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

  • Hero Member
  • *****
  • Posts: 1014
    • ShapeSheet™ Knowledge Base
Re: Scaling lines in Visio
« Reply #1 on: August 07, 2020, 04:23:36 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

  • Hero Member
  • *****
  • Posts: 2703
Re: Scaling lines in Visio
« Reply #2 on: August 07, 2020, 06:09:44 AM »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3821
  • Ideas Visio-lized into solutions
Re: Scaling lines in Visio
« Reply #3 on: August 08, 2020, 09:12:18 PM »
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