Solved

Use Visio shape data to display another shape

Posted on 2013-01-16
3
870 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
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.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
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…

730 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