Change all shapes one type to another, for example chairs to sofas

A

Alex Moon

I have a plan. On this plan u have many chairs. But now i can replace chairs
to sofas. I can write macros.
In this macros i can:
- choose shape - with name "chair"
- read it PinX, PinY, FlipX, FlipY
- paste shape "sofa" with PinX, PinY, FlipX, FlipY
- delete shape "chair"
and i can do it for all shapes "chair" on my page.
What i can write on my macros? And how i bypass all shapes "chair"?

thanks in advance
 
P

Paul Herber

I have a plan. On this plan u have many chairs. But now i can replace chairs
to sofas. I can write macros.
In this macros i can:
- choose shape - with name "chair"
- read it PinX, PinY, FlipX, FlipY
- paste shape "sofa" with PinX, PinY, FlipX, FlipY
- delete shape "chair"
and i can do it for all shapes "chair" on my page.
What i can write on my macros? And how i bypass all shapes "chair"?

thanks in advance

http://www.visio-utilities.sandrila.co.uk/

will do it for you, on the new menu
Shape -> Shape substitute
 
A

Alex Moon

Paul Herber said:
will do it for you, on the new menu
Shape -> Shape substitute

when i select "Shape(s) to replace" (all chair) and write on "New shape
name" enter Substitute button they show me Information message "Cannot find
shape 'sofa' in open stencil". But stencil "sofa" is opening.
 
P

Paul Herber

when i select "Shape(s) to replace" (all chair) and write on "New shape
name" enter Substitute button they show me Information message "Cannot find
shape 'sofa' in open stencil". But stencil "sofa" is opening.

Um, I've just tried it myself, seems to work just fine. I turned off
the 'copy size' tick box as otherwise you get a silly sized sofa!

Which stencils do you have open?
 
A

Alex Moon

:

Um, I've just tried it myself, seems to work just fine. I turned off
the 'copy size' tick box as otherwise you get a silly sized sofa!

Which stencils do you have open?

I'am clearly... But it's work not correctly... some shapes it change, some
not.
Maybe i can wright macros and learn VBA for Visio :) thnx for the Help...
 
A

Alex Moon

Paul Herber said:
Um, I've just tried it myself, seems to work just fine. I turned off
the 'copy size' tick box as otherwise you get a silly sized sofa!

Which stencils do you have open?


thnx i'am clear. But it work not correctly: some shape it's change some not.
Maybe i can write macros and learn VBA for Visio :)
thnx u for halp...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top