Visio Guy

Visio Discussions => ShapeSheet & Smart Shapes => Topic started by: Kave.Johnson on October 08, 2013, 02:59:42 PM

Title: Use ShapeData to Control shape layer membership
Post by: Kave.Johnson on October 08, 2013, 02:59:42 PM
Hello!

I am struggling to create a master shape that could change its layer membership according to a specific shapedata parameter
(a pre-defined list of values).
For example, a shape that has a shapedata parameter "Color" with three predefined values {"Red", "Green", "Blue"}.
What is needed, is that when I change the "Color" value, the shape gets associated with the corresponding layer.

Thank you in advance for any clues!
Title: Re: Use ShapeData to Control shape layer membership
Post by: kiler40 on October 17, 2013, 10:24:14 AM
Hello Kave,
here is what you asked.
use the Index and lookup function (explained really well to me by Mr. John Goldsmirth in the this post - Reply #15 http://visguy.com/vgforum/index.php?topic=4993.15 (http://visguy.com/vgforum/index.php?topic=4993.15) ) and link the result to the layer membership in the shapesheet.

:)

Good Luck!