Referenced cell State!Connections.X4 does not exist.

E

Eric

Hello,

I am trying to connect a line to a connection point on a circle.

Calling GlueTo is creating an exception that states the cell
"Connections.X4" does not exist.

Here's the code:

Visio.Cell cFrom = sTransition.get_Cells("BeginX");
Visio.Cell cTo = sState.get_Cells("Connections.X4");
cFrom.GlueTo(cTo);

sTransition and sState are two shapes. You may intuitively infer that
sTransition is a line, and sState is a circle with 8 connection points that
I've created.

While debugging, I see cFrom and CTo contain cells. It's the GlueTo
function that raises the exception.

Any ideas? I'm going to look at the documentation for now...

Thanks,

Eric
 
E

Eric

Reading about connection points, I now have this working. I replaced my
line/transition with a dynamic connector and it works fine.

Eric
 

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