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

VISIO

    Sponsored Links

    Next

  • 1. Q: when drawing a room shape, how can I get integer inches?
    I've inserted the room shape and when resizing it, I keep getting 8th and 16th of inches, how can I set Visio to only give me exact inches? Thanks :) Bill
  • 2. Stencil path and Page Size problem with Automation in VC++ 6.0
    I am using Visio 2000, with our software to provide automation (using VC++ 6.0) I am facing two problem currently: 1. i want to use my own stencils to be used in drawing for that, i am using function GetStencilPaths() of IVApplication object to retrive current stencil path. this function return CString object, now i am conctenating my stencil path to the same string and using SetStencilPaths() function with this value. this is causing problem in object destruction (CString) and displays a voilation occured message. 2. My second proble is that, my application works fine on those m/c on which printer is installed, but if i try to run on m/c on which no printer installed than, it gives access voilation message. i tried to detect and found that i should set page size in my application but i am unable get any alternative. there is only SetPaperSize() function is available which works only in case when printer is installed. Please suggest me solu for above problem, how can i resolve these.
  • 3. Camera Sale -Nikon , Canon, Minolta , Sony ,Xcam2 , Fujifilm ,
    shopforless.itgo.com Camera Sale -Nikon , Canon, Minolta , Sony ,Xcam2 , Fujifilm , from $50 -up for the top brands
  • 4. visio technical or 2002 pro
    I would like to know the big difference between 2000 visio technical and visio professional 2002? If I am doing technical drawings,building floor plans and heating,boiler diagrams and layouts. Would 2000 technical suffice?
  • 5. Printing Dimensions
    Hi I am a newbie to Visio. I would like to know how can I print out the dimensions of all the objects in an office layout drawing automatically? Thanks for your help. Anthony

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

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

Hi,
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? 
how?
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
this:
 http://www.**--****.com/ 
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?

Jen

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
master).

Many thanks.

PugWash


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 11 guest