How does Visio choose which shape stencil to use?

Started by rosenpeter, December 02, 2010, 12:34:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rosenpeter

When you create an org chart from a linked data source, Visio automatically selects the "executive" shape for the top level, "manager" shape for shapes with that both report upwards and have children and the "position" shape for data rows that have no children. How does this work?  I would like to create my own tools that create and position different shapes from different rows in a master linked data source.

I can only make this work right now by selecting a particular master shape, and dragging the rows for that type onto the page, then move on to the the next master and and its data rows etc.  I'd like to be able to drag the entire table onto the page, and have visio choose different shapes automatically based on the data in the rows, just like the org chart wizard does.

Thanks in advance

Rosenpter

aledlund

The orgchart wizard is a custom application based upon a know datastructure (the master_shape name is in the data record). For an example of how it might be put together check this out.

http://visguy.com/vgforum/index.php?topic=2298.msg10100;topicseen#msg10100

al