Shape with inward/outward connection

A

Andy

Visio 2003.

I have a three shapes,

Shape A with an inward connection point 'T2'

Shape B with an inward/outward connection point 'T1'

Shape C with an inward/outward connection point 'T1'

Shape B has been dragged and connected to Shape A.

Programatically (VBA/VB6), I am trying to replace Shape B with a new
shape Shape C. However I then need to glue the 'T1' connection point
on Shape C to the 'T2' connection point on Shape A. If I process the
Connects on Shape B, I find I have 1 Connect object, that connects to
cell 'T2' on Shape A. However, the from cell for Shape B has cell
'PinX' and not 'T1'. The GlueTo then fails as I don't have the correct
from cell name.

I am trying to handle this generically as my shapes can have different
connection names and multiple connections. Is there anyway I can get
it to report T1 instead of PinX.
 
J

JuneTheSecond

Hi Andy,
Maybe, it may be a noramal result .
When you move 1-D shape to the connection point of shape A,
EndX or GeginX will connect to the connection point.
And PinX and PinY will connect to the connection point,
if you move shape B or Shape C.
Cells PinX, PinY and Angle have the formulas that indicate
how PinX, PinY and Angle are connecting to the shape A.
 

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