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


    Sponsored Links


  • 1. Activate View Layer Properties by Clicking Graphic??
    I'm new to this arena, but I'm hoping this is a stupid easy request. I've got a Visio doc with multiple layers and I want to put a control or icon or graphic on the drawing so that when users click it, it shows the View Layer Properties window and they can control layers. My users don't know Visio layers well enough to know this feature exists in the menus or toolbar. I don't know VB or controls well enough. I tried recording a macro to assign to a control but in Visio you can't record showing the Layer Properties dialogue becasue the Record Macro buttons don't work when the dialogue is opened (is there a way around this?). Can you give a poor non-developer a solution???
  • 2. Inward/outward for connection points
    Hi, I want to define custom connection points which can only be either linked out or linked in, and it seems that the inward/outward attributes in Visio cannot satisfy my demand. The inward connection point can be both linked out and in, and I cannot make sure what the outward connection point does. Any suggestions for my problem? Thanks!
  • 3. Can you create a ERD in Viso 2002
    I need to create an Entity Relational Diagrams(ERD) for a college assignment. I only have Viso 2002. Can it be done or do I need to upgrate to 2003?
  • 4. Making Comments Visible w/o Having To Hover/MouseOver?
    I've got comments on a flowchart, but want them tb expanded/fully visible all the time - without the user having to do a MouseOver/ Hover. Is there a way?
  • 5. No "Copy Sheet" option in Visio 2003
    Gurus, Is there no "Copy Sheet" option in Visio 2003 like there is in Excel? The closest I can find is "Copy Drawing". -- Spin

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

Postby Captain Pugwash » Sat, 10 Jan 2004 07:54:35 GMT

I have a shape master that is a rectange with some text inside it.
When I edit it to make it longer (to fit more text in it), the instances of
the master on the page do not update.
Can anyone help me with this please?

Many thanks.

Re: Getting shape instances to update when master's dimensions are changed

Postby Russ McKenna » Sat, 10 Jan 2004 15:43:53 GMT

You might be editing the wrong master.

Stencil files have masters, you drag these to your drawing. Visio creates a
local master and uses this for your shapes. If you edit a stencil shape, it
will not change the local master, or instances of the shape. If you change
the local master, it will update the instances. Use drawing explorer to view
your local masters.

"Captain Pugwash" <Postmaster@(NoSpam)> wrote in


Re: Getting shape instances to update when master's dimensions are changed

Postby dani<->moser_a_t_hot<-> » Sat, 10 Jan 2004 16:18:05 GMT

Hi Captain

You have to show the document stencil (File->Stencils->Document 
Stencil), and then edit the master there.
Then, all instances will be updated.

Then you may drag the edited master on the document stencil to your 
stencil containing the master that you actually wanted to change and 
replace it.

Hope this helps


Re: Getting shape instances to update when master's dimensions are changed

Postby Captain Pugwash » Thu, 22 Jan 2004 05:32:37 GMT

Well, I tried both of these ideas, and it still didn't work.  I have been
changing the master in the document stencil all the time.  I have
successfully changed other properties in the master and got it to update all
instances automatically, but it just seems to be the Width & Height
properties in the Shape Transform section that do not update on the

I need it to update all the instances of the shapes automatically, as there
are about 500 of them; so dragging out new instances from a new master is
not really an option.

Any other ideas???


"dani<->moser_a_t_hot<-> moser_a_t_hot >" <"dani<--> wrote


Re: Getting shape instances to update when master's dimensions are changed

Postby Mark Nelson [MS] » Fri, 23 Jan 2004 03:44:52 GMT

Editing a master will not update cells in the instance shape that have been
locally overridden.  If you look at the Shapesheet, local values are shown
in blue while inherited values are black.  It is quite possible that common
cells like Width and Height are local in your shapes.

Another way to update your instances is to select all of them and open the
Size & Position window from the View menu.  You can type in a single value
and update every shape at once.

Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

"Captain Pugwash" <Postmaster@(NoSpam)> wrote in



Similar Threads:

1.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.


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.Instances doesn't get updated when the master stencil changes


I am trying to create a stencil master shape in such way that when I change 
the master, all instances also get updated according to the new master 

At this point I have a master shape in a stencil and I have hundreds of 
instances in different visio drawing based on the very same stencil. When I 
change the master shape, I have to change all instances (several hundreds) 
and this is such a pain.

How can I solve this problem?

Any help would be appreciated,

Return to VISIO


Who is online

Users browsing this forum: No registered users and 53 guest