name of connected objects

  • Thread starter Flavelle Ballem
  • Start date
F

Flavelle Ballem

Given two shapes with a connector between them, I am looking for a way to
identify the name of the two connected shapes in the connector.

In a perfect world, I'd like to use Custom Properties/Shape Data within the
connector to contain the names of the shapes in the Connector.

Any thoughts?

Thanks,
Flavelle Ballem
 
A

Al Edlund

I'd use the already written functions in the visio sdk to capture the
connection data.
al
 
F

Flavelle Ballem

I was hoping that there was a way to do this through the Shapesheet for the
connector. It seems odd (to me, at least) that there doesn't seem to be a
property for a connector that can identify the shape that is connected to a
connector.
 
D

David Parker

It's on the wishlist :)

Flavelle Ballem said:
I was hoping that there was a way to do this through the Shapesheet for the
connector. It seems odd (to me, at least) that there doesn't seem to be a
property for a connector that can identify the shape that is connected to
a
connector.
 
D

David Parker

Not really a ShapeSheet only solution that responds to connentions /
disconnections, as it requires manual input or non-ShapeSheet code to enter
shape names
 
V

vojo

parsing a formula to see if there is a connections reference is not that tough.
If somebody is in this far trying to do a shape sheet method for
this...whats a little more pain.
 
J

John Marshall, MVP

The Visio OM has collections for all the connections on a page, a collection
of all shapes a given shape is connected and one of the shapes connected
from.

As David P mentioned access to this information from the shapesheet is on
the wishlist. A workaround would be to add a custom property to a shape and
then populate it with information from the collection. Determining when this
routine fires will be the trick.

John... Visio MVP

Need stencils or ideas? http://visio.mvps.org/3rdparty.htm
Need VBA examples? http://visio.mvps.org/VBA.htm
Visio Wishlist http://visio.mvps.org/wish_list.htm
 

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