Modify a shape master and update all the shapes on the visio pages


    Sponsored Links


  • 1. Win XP odd "Open" dialogue in Visio 4.1 Technical
    With Visio 4.1 on Win98SE, the "Open" dialogue shows "Network N'hood", whereby one can navigate to a shared folder. With Visio 4.1 on Win XP Prof, the same dialogue does not show Network N'hood. One has to drill through My Docs & Settings etc etc to the same shared folder. (We've reverted to ancient pre-MS Visio 4.1 because it performs better in certain required functions than 2000 or 2002; the latter I have in fact thrown into the corner in disgust) Pemo -- ,-._|\ / Oz \ Melbourne \_,--.x/ Australia v
  • 2. Updating custom properties on multiple shaoes
    Hi, Is there any way to change the custom properties (not the data values, but the "custom properties properties") on all instances of a certain shape in a Visio file? I know I can select all instances of the shape on any given page and change the properties, but I have hundreds of instances of a certain shape spread across maybe fifty pages, so whenever I find out there's a property missing its a gargantuan task just going through all the pages manually. Jorn

Modify a shape master and update all the shapes on the visio pages

Postby THVjYS5pcHBv » Sat, 05 Sep 2009 17:54:01 GMT

my problem is the following:
1) I create a new shape master
2) I use it many times in a one or more visio pages
3) then when I make a modification on the shape master I would automatically 
update all the shapes on the visio pages I used before; is that possibile? 
Please, help me!

Re: Modify a shape master and update all the shapes on the visio pages

Postby Paul Herber » Sat, 05 Sep 2009 18:09:11 GMT

On Fri, 4 Sep 2009 01:54:01 -0700, Luca.ippo

Not directly no, however, I have a utility that can help you with
Use the shape substitute feature with the new master.

Regards, Paul Herber, Sandrila Ltd. 
Visio Utilities       http://www.**--****.com/ 

Similar Threads:

1.Modify a shape master and update all the shapes on the visio p

2.when update master shape, instances on page not updated

I'm making a diagram with many shapes on it, all with the same fill, text 
style, line, and connector locations. I need the flexibility to be able to 
update them all at once if, for example, I change the fill color or add a 
couple of connection points.  I'm using Visio Pro 2003 SP2.

I thought the solution was to make a new master shape, but I can't make the 
shapes already on the page update to match the master when I change the 
master. Here's what I did so far:

I carefully followed the help directions to create a new master shape and to 
save the stencil I had it on. I then dragged it on to the page to make 
several instances of that shape in a drawing. Then I edited the master shape 
and re-saved the stencil. The help claims that doing so will automatically 
update any instances of that shape on the page. It did not. 

So I read a little further and found that you can also supposedly 
right-click on the instance of the shape on the page and use Format > Style 
and set the Text, Line, and Fill styles back to "use master's format." So I 
did that. That didn't work, either.

Any suggestions?


3.Update shape instances when master shape is changed

I've got a Visio drawing with about 300 instances of a master shape.  When I
change some of the properties of the master shape it updates all the
instances as expected, after it prompts me for whether I want to update all
the instances of the master shape.

However, I want to make a change to the master shape with some VBA code and
get all the instances to update automatically.  I have written some code
that seems to do this, but it doesn't always update all the instances.
Could someone paste a snippet of code that would do this to check that I am
on the correct lines, and furthermore, is there a way in VBA to tell it to
update all the instances after a change has been made to the master shape
(as the prompt would usually do, if the changes were made manually to the

Many thanks.


4.DoDragDrop on modified master shapes has strange side-effect

The scenario is the following:

I have a tree which I drag shapes from. When dragging the item, i find its 
corresponding master in the document stencil (via doc.Masters.get_ItemU) and 
DoDragDrop(foundMaster, DragDropEffects.Copy) on the master shape I get.

After doing this a couple of times (and it works as it should) i edit (in 
visio) the master shape in the document stencil. After updating all 
references i try dragging another one in from my tree. The dragged object 
looks fine, but when releasing/dropping the shape on the drawing surface, the 
text is renamed to what it was before, and another master is created in the 
document stencil.

Why is this happening? My code find the correct master since the text is 
correct when dragging the item without releasing it... But Visio does 
something when i release it. I know that the UniqueID changes when editing 
the text, but should this really be a problem?

If i edit the master in the document stencil before doing any drag-and-drop 
operation, then drag-and-drop works (no change of text and no new master 
shape), but immediately after editing the master, it starts acting weird!

Dragging the master from the document stencil works fine in every case.

Another thing:
I have also noticed that the icon when my drag-and-drop operation is going 
on, is more like in windows explorer, but when using the document stencil 
it's only a small 'plus' sign. What is the difference?.. How can I access 
Visios internal drag-and-drop functionality?

5.Modified Shape Masters have funny effect on Text Placement

I've modified a couple of master shapes by adding some lines and connection 
points.  if i just add connection points, i don't run into this problem.  But 
if I modify the drawing presentation by adding lines or curves, the text no 
longer goes into the normal text location.  Instead it opens a new textbox 
right in the middle of the object with a different format.

I can get to the normal text location by clicking repeatedly until it's 
chosen as a sub-object, but I assume there's a way for me to tell Visio that 
the "old" default text location/object should *still* be the default text 
location object.

Can someone tell me how I can accomplish this?  I don't seem to have the 
right vocabulary to find it using search terms.

Thanks in advance.

6. Getting shape instances to update when master's dimensions are changed

7. Changes in master shapes are not updated on diagram

8. How to copy an existing shape and modify it, saving as new shape

Return to VISIO


Who is online

Users browsing this forum: No registered users and 18 guest