Visio Guy

Visio Discussions => General Visio => Topic started by: gyra on August 19, 2010, 05:20:06 PM

Title: Adding Color Blocks
Post by: gyra on August 19, 2010, 05:20:06 PM
Things given to me

- X and Y coordinates
- Component degree
- Component groups
- Component size

I'm not good with the technical jargon but what I want to do is to group components together so it is more organized. 

What I start off with:
(http://i26.photobucket.com/albums/c108/imatangerine/7bf968da.jpg)

What I want the end result to be:
(http://i26.photobucket.com/albums/c108/imatangerine/5d293abd.jpg)

Please help, I am going bald   :D
Title: Re: Adding Color Blocks
Post by: Paul Herber on August 19, 2010, 06:14:39 PM
I think layers might be your best bet.
Create one layer per group, and set a layer colour.
Now select the shapes you want in that group (hold Shift and select the shapes), then add those shapes to the layer.

Title: Re: Adding Color Blocks
Post by: gyra on August 19, 2010, 08:00:08 PM
Quote from: Paul Herber on August 19, 2010, 06:14:39 PM
I think layers might be your best bet.
Create one layer per group, and set a layer colour.
Now select the shapes you want in that group (hold Shift and select the shapes), then add those shapes to the layer.



Thanks for the response.

I have thought about using layers but I want to link the excel sheet with the information onto Visio so it arrranges/creates the color block automatically.  I have tried it with Visio 2002 with Database Wizard and it works but company have upgraded the software to 2010.

:(
Title: Re: Adding Color Blocks
Post by: Jumpy on August 19, 2010, 08:07:08 PM
Search this forum or better Chris articles about sth. like:
"Change Color depending on ShapeData".

ShapeData can be changed with linking shapes to external Data from Databases. That should be even more easy using Visio2010 than 2002.
But you need a Professional Version of Visio. Database Wizard is not part of the standard edition.
Title: Re: Adding Color Blocks
Post by: gyra on August 19, 2010, 08:21:12 PM
Quote from: Jumpy on August 19, 2010, 08:07:08 PM
Search this forum or better Chris articles about sth. like:
"Change Color depending on ShapeData".

ShapeData can be changed with linking shapes to external Data from Databases. That should be even more easy using Visio2010 than 2002.
But you need a Professional Version of Visio. Database Wizard is not part of the standard edition.


Searched, found and bookmarked!!

I'm a bit confused on my version now.  I'm using the standard edition (atlease that is what was written on the box) but then I am able to access the Database Wizard.  Now I'm confused  ???  I will make a screenshot for you guys early tomorrow morning.
Title: Re: Adding Color Blocks
Post by: gyra on August 20, 2010, 04:44:52 PM
Here is a pic of the database wizard.

(http://i26.photobucket.com/albums/c108/imatangerine/a111a76c.jpg)

Title: Re: Adding Color Blocks
Post by: gyra on August 25, 2010, 12:20:05 PM
Does anyone have any suggestions or inputs?
Title: Re: Adding Color Blocks
Post by: Paul Herber on August 25, 2010, 12:50:42 PM
Actually, the Database Wizard is in Visio Standard as well, I'm not sure if the functionality is exactly the same; but if you have the database wizard then try it.
Title: Re: Adding Color Blocks
Post by: Jumpy on August 25, 2010, 08:04:53 PM
I didn't express me clearly, I fear. For the kind of linking you need, you need imho the feature that links ShapeData to an external source, for example excel.
That is not the same as the DatabaseWizard, who is part of Visio standard like Paul said.
The linkink of ShapeData is normally not part of Visio standard. That was what I wanted to say in my last post, but got confused with the DBwizard.

Maybe you can do what you want with the DBwizard, but I don't see how, but I'm not truly proficient with it, so it may be, that I only don't see the way, even if there is one.

Jumpy
Title: Re: Adding Color Blocks
Post by: gyra on August 26, 2010, 03:24:10 PM
Hopefully the steps I've used in the older version may explain what I am trying to do better for the newer version.

Database Wizard -->
Create a linked drawing -->
Create a drawing which represents a database table -->
Modify existing drawing -->
Modify existing page -->

Then it gets to source to define a new data source in which I've selected Microsoft Excel.  

After this step it goes on to ask for a stencil and a master which I've created but was unable to have Visio read.

*Edit, I finally found someone having the same issue as me only the thread starter is using Visio 2003 and I have Visio 2010.

QuoteI'm using the database wizard and am trying to import multiple text fields
into one master.  I have an excel table with a list of parts and for each
part is has a part name, part number, and location.  They must be in
different shapes because each field has different formatting.

I've tried using group shapes and doing various things, but I can only get
it to work with one text field and one shape... not with multiple fields.

Please Help! can this

http://www.eggheadcafe.com/software/aspnet/32071578/importing-multiple-fields-from-excel-to-one-master.aspx (http://www.eggheadcafe.com/software/aspnet/32071578/importing-multiple-fields-from-excel-to-one-master.aspx)
Title: Re: Adding Color Blocks
Post by: gyra on September 03, 2010, 05:38:45 PM
Any Visio gurus know the answer?
Title: Re: Adding Color Blocks
Post by: gyra on September 13, 2010, 05:07:17 PM
Looks like I'm having trouble linking the shapes (Master).  Error message I got when trying to link them via Database Wizard is:

QuoteThe selected stencil contains no suitable shapes for representing records in the database table.
Use the Database Wizard to create a shape that has a linked cell for every field in the table.

I've loaded all shapes and sizes to my favorties but still getting that message.  Please help!
Title: Re: Adding Color Blocks
Post by: Jumpy on September 13, 2010, 08:20:49 PM
I'm not truly proficient with the DB wizard, so only a guess. The wizard seems to need very special shapes and they have to come from the original stencils that belong to the wizard. Otherwise the hidden AddOn that is behind the wizard won't work. Like many other AddOns (the discussions on the Org chart wizard, come to mind) you can't look behind the scenes and therefore can't really tweak them.

Jumpy
Title: Re: Adding Color Blocks
Post by: gyra on September 14, 2010, 12:14:50 PM
Quote from: Jumpy on September 13, 2010, 08:20:49 PM
I'm not truly proficient with the DB wizard, so only a guess. The wizard seems to need very special shapes and they have to come from the original stencils that belong to the wizard. Otherwise the hidden AddOn that is behind the wizard won't work. Like many other AddOns (the discussions on the Org chart wizard, come to mind) you can't look behind the scenes and therefore can't really tweak them.

Jumpy

Thanks for reply, I'm using the shapes from the Visio stencil.  In particular a rectangular box from basic shapes (metric) --> blocks (metric) --> box.  I don't get how it will not link up.
Title: Re: Adding Color Blocks
Post by: gyra on October 01, 2010, 06:59:42 PM
Still need help with this one, if anyone has any insight on this.
Title: Re: Adding Color Blocks
Post by: gyra on November 03, 2010, 08:09:57 PM
Got the master stencil linked up.  Only problem seems to be linking the excel files to the Visio program.  Anyone have a clue?  Or am I SOL?