News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Lock the ports on the perimeter of the master shape

Started by ronaona, July 05, 2022, 08:37:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ronaona

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

Visio 2019 Pro

ronaona

Thank you,
That is the solution I was trying to find.
I really appreciate your help. Now,  I will try to implement it 

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 187 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1059KB.
Tokens: post-login.
Cache hits: 13: 0.00127s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]