Line Formats

R

Rick Slater

All:

I use Visio 20003 for network diagrams. The lines linking the various
devices are color coded to represent different line rates and protocols. We
have introduced a new device that aggregates several optical signals, of
various line rates/protocols into a single optical signal stream. I would
like to format line segments linking these devices with multiple colors or
pattern that would suggest a composite signal.

Would appreciate any assistance you care to offer.

Thanks
Rick
 
W

wr

Hi Rick,

you can't multicolor one single line
so you have to put two lines with different color on top of each other and
then group them
you can use the SETF and IF formulas for each subshape
for example:
=IF(Sheet.80!Prop.open=TRUE,SETF(GetRef(LineColor),RGB(255,104,168)),SETF(GetRef(LineColor),3))

Sheet.80 is the name of the shape that contain the optical signal whereby I
stored the value in a custom property
Don't know much about optical signals so bear with me
The Linecolor is the cell that holds the color of the line
So, if the property Open is set to TRUE then you give the line the color
RGB(255,104,168)) else it get the color 4, which is blue.

Hope this helps

René
 
J

John Marshall, MVP

Actually you can. Take a look at Line Patterns. Any colour you assign to
the pattern will remain unchanged and any black areas will take on the line
colour. So if you wanted to create a series of wires that had diagonal
stripes of various colours. You could create a pattern with a black area
that would change each time you changed the line color. If you wanted to
have a black area that remains blank, use an almost black (255,255,254).

John... Visio MVP

Need stencils or ideas? http://visio.mvps.org/3rdparty.htm
Need VBA examples? http://visio.mvps.org/VBA.htm
Visio Wishlist http://visio.mvps.org/wish_list.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top