Author Topic: Can't lock line length or rotation  (Read 12317 times)

0 Members and 1 Guest are viewing this topic.

Jennifer

  • Hero Member
  • *****
  • Posts: 525
Can't lock line length or rotation
« on: September 01, 2020, 02:50:49 AM »
I need to draw a bunch of equal length lines. I created one and then locked the length and rotation. I double checked that those settings were accepted. But the line could still be rotated and lengthened.

What am I doing wrong?
Using Visio 2019, part of Office 365 on Windows 10

vojo

  • Hero Member
  • *****
  • Posts: 1688
Re: Can't lock line length or rotation
« Reply #1 on: September 01, 2020, 06:25:12 AM »
you can use protection   Developer mode ==>protections

or

can go into shapesheet and user guard for the lines
- let beginx and beginy free float
- set endx = guard(beginx +30mm)      endy = guard(beginy +20mm)

Jennifer

  • Hero Member
  • *****
  • Posts: 525
Re: Can't lock line length or rotation
« Reply #2 on: September 01, 2020, 06:58:08 AM »
you can use protection   Developer mode ==>protections
That's what I did use. See attached screenshot.

Quote
or

can go into shapesheet and user guard for the lines
- let beginx and beginy free float
- set endx = guard(beginx +30mm)      endy = guard(beginy +20mm)
I've never used shapesheets much, so am hesitant. Why doesn't the lock (protection) setting work?
Using Visio 2019, part of Office 365 on Windows 10

Jennifer

  • Hero Member
  • *****
  • Posts: 525
Re: Can't lock line length or rotation
« Reply #3 on: September 01, 2020, 07:27:03 AM »
PS: I just noticed that this was saved as a .vsd document. I just resaved it as a .vsdx document. Same result.

PPS: Why do we now have a separate section for Office 365 "Perpetual" issues?
Using Visio 2019, part of Office 365 on Windows 10

vojo

  • Hero Member
  • *****
  • Posts: 1688
Re: Can't lock line length or rotation
« Reply #4 on: September 01, 2020, 08:13:58 AM »
1D shapes, regardless of orientation is a width....not a height.
should try to lock width.

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3328
    • Paul Herber's website
Re: Can't lock line length or rotation
« Reply #5 on: September 01, 2020, 08:38:36 AM »
PPS: Why do we now have a separate section for Office 365 "Perpetual" issues?

Because problems like this are often specific to one version of Visio.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4522
  • Ideas Visio-lized into solutions
Re: Can't lock line length or rotation
« Reply #6 on: September 01, 2020, 09:04:19 AM »
First, controlling a line segment, like you want, ought to be simple, but it's not.  Plus, the solution isn't simple, as I recall.   I'm not at my computer, so, can't verify this.  I also remember that JuneTheSecond did develop a solution.  Have you searched the Forum?  ...

Ah.  Here...http://visguy.com/vgforum/index.php?topic=6979.msg29169#msg29169
« Last Edit: September 01, 2020, 09:07:49 AM by wapperdude »
Visio 2019 Pro

Jennifer

  • Hero Member
  • *****
  • Posts: 525
Re: Can't lock line length or rotation
« Reply #7 on: September 01, 2020, 11:22:47 AM »
1D shapes, regardless of orientation is a width....not a height.
should try to lock width.
Bingo. That works.

Interestingly, locking width also locks rotation. I unlocked both length and rotation, but with width locked, the line cannot be rotated.

I'd love to have the developer who made that choice explain it to me. Maybe because most lines are horizontal? I still think it's stupid.
Using Visio 2019, part of Office 365 on Windows 10

vojo

  • Hero Member
  • *****
  • Posts: 1688
Re: Can't lock line length or rotation
« Reply #8 on: September 01, 2020, 12:38:04 PM »
there is a lot in visio that spawns the observation of "well, that is one way to go!!"

moreover, on teams, MS pushes patches that change the GUI, hence always chasing the GUI approach of the hour.
Some of these GUI changes seem to be more like "I got too much time on my hands, hey redo this a different way"