Shape Sheet changes

Started by Jay.Rusek, June 13, 2011, 12:58:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jay.Rusek

Started using http://visguy.com/vgforum/index.php?topic=14.0, SSH instead of Telent Hyperlink
this is part of the steps
Step 1
Open up the shape sheet and add two custom properties.

•Prop.IPAddress
•Prop.ConnectionType

Step 2
Edit Prop.ConnectionType to be Type 4 with a format of "ssh;telnet". This will allow you to set in the custom properties window what connection type to use.

Step 3
Add a new action and for the action add

Code:
=CALLTHIS("ThisDocument.manageDevice",,Prop.IPAddress,Prop.ConnectionType)
And for the menu put "Manage Device"

The question is I have 100's of Network devices on multiple pages I would like to make these changes to.
Is there a easy way to change all the shapes on the page or the entire document to inherit the shape sheet custom properties.

aledlund

It will have to probably be done with code. I'd start by using the macro recorder to capture the individual changes to the shape(s), and then just wrap it with the necessary loops (shapes on page and pages in document).
Al

Jumpy

Or maybe you could try to alter the mastershapes in the Document Stencil.

aledlund

I also considered that. The assumption is that it uses a limited number of master shapes and that none of the links has been broken since they were dropped on the page(s).
al

Paul Herber

may I also suggest trying out my Visio Super Utilites http://www.sandrila.co.uk/visio-utilities/ which can do copy and paste of the Prop and Actions sections of the shapesheet. You can paste to multiple shapes so you might be able to do all the shapes within just  afew seconds.
HTH.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/