Visio Guy

Visio Discussions => Programming & Code => Topic started by: ovi on November 15, 2022, 11:42:01 AM

Title: Glue shape to any point on the perimeter of another shape
Post by: ovi on November 15, 2022, 11:42:01 AM
Hello everyone,
I would like to create a behaviour where a shape (in the image bellow the triangle or the arrow) attaches to any point on the perimeter of another shape (in the image bellow the rectangle and the line) as if there were a connection point.
(https://i.imgur.com/NtjIFcF.png)

Any ideas how to do it?

Thomas did something very similar in this post (http://visguy.com/vgforum/index.php?topic=4897.0) were a line connects to any point of another line. However I didn't understad exactly how it was implemented in order to replicate it...


Title: Re: Glue shape to any point on the perimeter of another shape
Post by: Nikolay on November 15, 2022, 01:23:57 PM
You could try "glue to geometry":

(https://i.paste.pics/3bcbb74a09111f59bf62ad656df50fb7.png)