Shape Data

M

Maguser2003

I am trying to export shape data to an external database that will allow me
to identify a connection between shapes. Specifically, I have a drawing with
audiovisual equipment shapes. The "output" of one shape is linked to the
"input" of another shape via a connecting line I.E. the "cable". I would
like to use the exported data to print cable labels indicating the cable
number and the two pieces of equipment that they are connected to. I have no
problem exporting the data, but I cannot readily discern the relational data.
I appologize if this is not the right forum.

Regards,
 
A

Al Edlund

there is an example in the visio sdk on how to list connections for a
drawing page.
al
 
C

Chris Roth [MVP]

M,

Some keywords to get you going - things to hunt for in the Developer's
Reference or the Visio SDK:

- visPage.Connects gives you all the connections on a page.

- Connectors represent connect objects. A shape that is connected-to (ie: a
box) has a FromConnects collection.

A connector glued at both ends (two red dots) will have two Connects objects
in it's Connects collection. A box with one connector glued to it will have
one FromConnect.

--
Hope this helps,

Chris Roth
Visio MVP

More Visio shapes, articles, development info and pure diagramming fun at:
www.wanderkind.com/visio
 

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