Solved

Use Visio shape data to display another shape

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
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 …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

759 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

22 Experts available now in Live!

Get 1:1 Help Now