Link to home
Start Free TrialLog in
Avatar of Don Johnston
Don JohnstonFlag for United States of America

asked on

Linking objects so that when selecting one, the other is highlighted

I'm doing an electrical diagram in Visio 2010.  Because of the layout, I have to take a single connection point and represent it in different locations on the page.  

Is there a way so that when I select one of these points, the other points will be highlighted?
ASKER CERTIFIED SOLUTION
Avatar of Scott Helmers
Scott Helmers
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I ran across this post in the Visio Guy forum that isn't directly related to your question, but is related to building more intelligent circuit diagrams, so I thought I'd pass it along. You might find some of the ideas to be useful.
Avatar of Don Johnston

ASKER

Is your goal to click on a connection point and then have the remaining ones in the set highlighted?
Exactly... I think.

In the attachment, there are four modules which are connected to pin 1 on J5.  Running a connector between one of the modules and J5 is easy.  But for the other three, I created a square object with the number "1" in it.  I place those near the modules and put a connector between the module and the object.  BTW, this is the most simple diagram where I use this method.

What I would like is to be able to do is select any of the square objects with the "1" in it and have all the other objects highlight (or easily see that they are associated).

I'm not a coder but have done some cut-and-paste of VB code before.

Or do you want to drag a connector to a connection point, glue it, and then have the rest highlighted?
I hadn't thought about that.  But that would be pretty nice as well. :-)
Lighting-ventilation-control.jpg
One other thought: if you would like to have your connectors labeled in more flexible ways that the default dynamic connector allows, take a look at this article by Visio MVP John Goldsmith:
I think this looks like what I'm trying to do. I'll look into this and see if it's a viable solution.
I'm not having any luck implementing this.  I've got developer mode enabled but I can't figure out how to get into the geometry editing screen.  I downloaded his sample, but it's a .vsdx file which isn't recognized. I changed the extension to .vsd but Visio won't open it.

Edit: looks like to load a VSDX file, I need to update Visio/windows.  Can't do that now so that will have to wait until I have a faster connection.
I opened John's vsdx file in Visio 2013 and saved it in vsd (Visio 2010) format, which you should be able to open.
Labelled-Dynamic-Connectors.vsd
Awesome!  Thank you!!!