Connectors not automatically rerouted

A

Anders

We are developing a page splitter, splitting a locng visio drawing into
several pages. When splitting the drawing we need to cut connectors in two
and draw one half on one page and the other half on the next page.

When copying and pasting a connector it is automatically rerouted in the new
page, but we need to paste the connector without rerouting it. Is it possible
to disable the rerouting when we paste the new connector? The connector's
geometries which are painted on the next page is removed from the connector
at the first page (and vice versa).
 
D

David Parker

Two thoughts:
1. Are you adding Off Page Reference shapes at the cut ends of your
connectors?
2. Have you considered simply increasing the page size to a multiple of the
paper size?
 
A

Anders

Hi!

What is Off Page Reference shapes? I do not understand what you mean. We
have a shape to define which are is exported to a page. Shapes within this
shapes are are exported to a new page. We do not want a large page, we need
several small pages.

When we have all shapes within the defining shape we do a copy of those
objects and then they are pasted into the new page by a ActivePage.Drop().
 
P

Paul Herber

Hi!

What is Off Page Reference shapes?

It is a shape available from (amongst others) the Basic Flowchart
Shapes stencil, when dropped on a page it puts an equivalent shape on
the destination page and connects the two via an add-on.
 
A

Anders

Hi!

Ok, I understand. But the problem we are facing is that we already have all
connectors routed. We have a special shape that the user manually edits in
order for us to know where the long page should be splitted.

When the shapes that are supposed to be pasted onto the new page is copied,
some of them are rerouted in before we paste them. We have an idea of setting
a value on all shapes that are to be splitted (connectors) and when we paste
them we look on the original long page and copy its geometries to the pasted
shape. Only geometries (paths) from the page start are copied.

This way feels overly complicated and we are wondering if there is a way to
not have Visio reroute the copied shape before they are pasted.
 
P

Paul Herber

With this I think it might be worth looking at the page connector
routing settings, basically, turn everything off in the routing
section of the page shapesheet. Then for each connector set the
LockCalcWH bit in the shape protections. Then set up the shape's
geometry.
 

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