Author Topic: Lock the ports on the perimeter of the master shape  (Read 926 times)

0 Members and 1 Guest are viewing this topic.

ronaona

  • Newbie
  • *
  • Posts: 4
Lock the ports on the perimeter of the master shape
« on: July 05, 2022, 03:37:01 PM »
Hello

I was wondering if it is possible to have create a master shape that allows me to move a connection around its perimeter(See that attached picture).
 
 
 

I was trying to use some IF FUNCTIONs, but I cant lock my x direction completely.

Example--> =IF(PinX<7 in,0,1)
where 7 represents my max distance(positive x direction) . when i use the IF function,  My connection keep moving after 7 in, and i cant move it  to the original position.
My connection can return to the original position when this moves less than 7 in.

I don't know how to create that restriction around the perimeter of the master shape. I am new using Visio, and I don't have experience with Macros/VBA, but I just need an idea of how i can start working in this project.



wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4837
  • Ideas Visio-lized into solutions
« Last Edit: July 05, 2022, 07:52:38 PM by wapperdude »
Visio 2019 Pro

ronaona

  • Newbie
  • *
  • Posts: 4
Re: Lock the ports on the perimeter of the master shape
« Reply #2 on: July 06, 2022, 08:57:13 AM »
Thank you,
That is the solution I was trying to find.
I really appreciate your help. Now,  I will try to implement it