Visio Guy

Visio Discussions => General Visio => Topic started by: ThirdDimension on November 29, 2015, 04:22:17 PM

Title: Having troube with code to swap line pattern
Post by: ThirdDimension on November 29, 2015, 04:22:17 PM
Here is a brief summary of my situation to set the stage for my question.

I create wiring diagrams for the installation of wires.  I created 4 custom line patterns to represent the 4 wire types.  Single conductior or multi-conductor wires are shown with solid parellel lines. 

On my dwg's, I also need to show some existing wiring, in which these four wire types are depicted wtih parelle dashed line, so I created 4 more custom line patterns with dashed lines.

I was able to create a right click selection option to toggle between the 4 options.  This works well as if you want to change the wire type, all you have to do is right click and select the option.

My question is how to add a right click option "EXISTING?" that will toggle the line from dashed to solid, but retain the seleciton of wire type?

Thanks!
Title: Re: Having troube with code to swap line pattern
Post by: Yacine on November 29, 2015, 07:35:54 PM
Not really clear where your problem is.
Check the attachment, it shows an example of options that can be checked in individual categories.
HTH,
Y.