Visio Guy

Visio Discussions => ShapeSheet & Smart Shapes => Topic started by: bassman on November 21, 2010, 06:01:14 PM

Title: Visio 2007 Pro: Update master on Document Stencil from new master?
Post by: bassman on November 21, 2010, 06:01:14 PM
I'm developing a couple of fairly "smart" masters on a custom stencil of mine.  Naturally, I'll want to update the master over time (new features), but need a way to update the master on the Document Stencil in multiple diagrams.

I've found a way to do this that seems to work great, but I wonder if this is reliable long-term, since postings on the 'net say you need a utility to do this.

Is there anything wrong with this approach?

This seems to work *great*, but I want to make sure I'm not causing problems down-the-road.
Title: Re: Visio 2007 Pro: Update master on Document Stencil from new master?
Post by: bassman on November 21, 2010, 11:50:31 PM
OK, now this isn't working so good...
...the *first* time I delete a master (while editing) and paste-in the update in the Document Stencil, the instances in the diagram update fine.  After that, for some reason (subsequent updates in the Document Stencil via cut/paste), the instances get smaller, and smaller...

Sigh...
Title: Re: Visio 2007 Pro: Update master on Document Stencil from new master?
Post by: Paul Herber on November 21, 2010, 11:53:22 PM
Open the shapesheet (select shape: menu Window -> Open Shapesheet) of one of the instances. Do the Width and Height cells contain a formula?
Title: Re: Visio 2007 Pro: Update master on Document Stencil from new master?
Post by: bassman on November 22, 2010, 12:23:28 AM
Quote from: Paul Herber on November 21, 2010, 11:53:22 PM
Open the shapesheet (select shape: menu Window -> Open Shapesheet) of one of the instances. Do the Width and Height cells contain a formula?


The width and height are constants, not formulas (both instance and master).

With a new master (completely different), the opposite seems to be happening; the instances get bigger each time I edit the master in the Document Stencil, delete it in the edit box, and paste-in the master from from my stencil with my "original" copy.  When I "edit master shape", I think something in the size is changing when I copy/delete/paste.

I do see that the width and height in the instance changing size is in blue; *something* about copying a master from my custom stencil, editing the master in my document stencil, and pasting-in the modified master is changing the size on instances.  Interestingly, this is only a problem the 2nd (and subsequent) time when I do this.  The first time I copy/edit/paste to the document stencil, the instance size is unaffected.