Glue breaks when pageful of shapes are moved

G

Guy..L

I use the following code to glue shapes in a toolpath together.

if (shape.Name.Contains("Begin"))
{

shape.get_CellsU("Connections.Center").GlueTo(path.get_CellsU("Connections.Begin.X"));
}
else
{

path.get_CellsU("Connections.End.X").GlueTo(shape.get_CellsU("Connections.Center"));
}

When I select all shapes on the page and then move the selection, only the
glue in the if- clause breaks, all other glue on the page remains intact
including that in the else-clause.

Why?

Thank you.
 

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