Is there a connector glue healing tool?

Started by rezingg, January 05, 2021, 08:58:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rezingg

I tried to search for this, but couldn't find an answer.
Is there a tool to automatically heal connector glue?
What I mean with this is that sometimes I end up with connector ends lying on top of connection points of shapes (or very close to them) without actually being glued. Sometimes editing can cause a whole bunch of connectors being 'de-glued'. What I would like is a tool that can, maybe page-by-page, re-glue any connection that has been severed, as long as the connector end is within some tolerance of a connection point.
This tool could be built into Visio, or an add-on or macro.

wapperdude

Visio 2019 Pro

rezingg

Exactly what I was looking for! Though I think it needs some additional work. As is, it won't work with rotated shapes, nor does it (I think) descend into groups.
I just started tinkering with Shape.XYToPage() function. I hope it takes rotation into account, otherwise I'll have to do my own trigonometric gymnastics...