Solved

Use Visio shape data to display another shape

Posted on 2013-01-16
3
862 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Meetings to discuss business process can waste time, and often do .  The meeting's dialog can get confusing when participants have different professional perspectives and backgrounds.  A jointly-developed process picture helps wade through the confu…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

943 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now