Visio Guy

Visio Discussions => General Visio => Topic started by: RandomDaveG on March 10, 2009, 08:58:56 PM

Title: Editing A Custom Property for Multiple Masters at Once
Post by: RandomDaveG on March 10, 2009, 08:58:56 PM
I built a database of masters which represent each of my company's products.  I have set up the same custom properties for each master, one of which is the price.  If our prices change suddenly (say, increased by 5%) across the board, is there any way for me to change the price of each product without having to go to Edit Master>Edit Master Shape>Shape>Custom Properties for every single master?

Thanks in advance!

Dave
Title: Re: Editing A Custom Property for Multiple Masters at Once
Post by: Visio Guy on March 10, 2009, 10:18:20 PM
Hi RDG!

You might try linking the custom properties to the data fields in question. Have a look at Tools > Add-ons > Visio Extras > Database Wizard, for starters.

You can also edit Visio masters programmatically. Have a look at this article:

Edit Visio Masters Programmatically...the Right Way! (http://www.visguy.com/2008/02/25/edit-visio-masters-programmaticallythe-right-way/)
Title: Re: Editing A Custom Property for Multiple Masters at Once
Post by: aledlund on March 11, 2009, 05:52:19 PM
If you're into code writing this demo does a price lookup based on a visio shape
http://msdn.microsoft.com/en-us/library/aa140253(office.10).aspx
al