How to make a connection point the "default" one...

M

Mac

I have a lot of shapes on a page (imagine polygons on which there are grouped
other shapes, but the polygon makes the outline), and then I use this
method: shape.CellsU("BeginX").GlueTo(shape2.CellsU("PinX")) to interconnect
these shapes. Prior to running this code I use the Connection Point Tool and
manually add one point to each of the polygon shapes and I want the
programatically created connectors to use these points only; however, this
does not happen and the connectors get glued (seemingly) towards the center
of my shapes. How can I change this behaviour so that my shapes had that only
one 'special' connection point only?
 
J

JuneTheSecond

PinX in the line
shape1.CellsU("BeginX").GlueTo(shape2.CellsU("PinX"))
should be replaced by Connections.X1.

PinX means center of shape allmost allways.
 

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