Solved

Use Visio shape data to display another shape

Posted on 2013-01-16
3
868 Views
Last Modified: 2013-01-18
I'm learning about shape data and shape data linking (for professional use, not as a student) to see if it would allow me to bring my detailed networking diagrams to the next level as well as make me more efficient. I learned about shape data linking and it works pretty awesome. I am able to link to a spreadsheet, display necessary items and also have more shape data that doesn't appear on the diagram as printed. This so far has been great.

Is there a way to use shape data to display another shape?

So take one of my standard shapes that I use. It's a rectangle object inside of another rectangle. I also put the most accurate visio stencil I can get for the model. Would there be a way to cause that stencil of the switch to appear based on the model defined in the shape data?

shape
It would be great because as equipment is replaced/upgraded, I could update the spreadsheet, update the visio linking, and automatically have the stencil reflect the correct model switch.
0
Comment
Question by:rauenpc
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
Visio_Guy earned 500 total points
ID: 38783624
Hi,

I think for your situation, you would need to use code. A shape could act as a shell to hold the frame elements and the data, but the internal image would need to be swapped out using code. The data could even contain paths to image files that custom code could read.

Visio has a concept called multi-shapes, whereby various shapes and geometry are stored inside a single shape, and turned on/off according to data. But all graphics must be built into the shape in advance, which isn't your case.

This article talks a bit about multi-shapes, if you're interested in seeing some examples:

Visio Multi-shapes
http://www.visguy.com/2008/11/10/visio-multi-shapes/

Consumer Reports Rating Shape
www.visguy.com/2006/11/22/consumer-reports-rating-shape/

In either case, there isn't a built-in, end-user feature that will get you all the way to where you want to go.
0
 
LVL 20

Author Closing Comment

by:rauenpc
ID: 38785249
Fair enough. That's about what I was thinking, but figured I'd ask to see if someone new of some simple magic to make this happen. Since part of my goal is to make a template out of this to allow other people to build diagrams, using something as advanced as coding would likely be a recipe for disaster outside of my own diagrams. Thanks for the input!
0
 
LVL 11

Expert Comment

by:Visio_Guy
ID: 38792040
Well, that's the beauty of having the image inside of a group - the code swaps the image out based on data changes, but your diagram remains in tact - connections and data wouldn't be tampered with since you'd be going inside the group. Something for version 2.0, eh?
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question