A
Andy
I have a Visio diagram representing an electrical network which I
supply with a stencil containing the various electrical symbols. If the
stencils are changed I have a mechanism to update my shapes on the
diagram using the shapes in the new stencil. Note, the positions of the
connectors on these shapes do not change.
For each shape, I drop the new shape on the diagram on top the existing
shape and copy over any required data. I then glue the dynamic
connector that was connected to the old shape onto the new shape.
Finally, I delete the old shape.
This works perfectly, 99% of the time. However, ocasionally Visio
decides to reroute the connector (more often when its a short straight
line). Ths can be all across the diagram or sometimes not even visible.
If I move one of the spurious segments and then do a Reset Connector
then the connector is redrawn correctly.
I have tried changing the ConFixedCode on the connector to never
reroute etc, but to no avail.
Anyone have any suggestions how I can prevent my dynamic connectors
from rerouting if I need to replace my shapes.
Thanks
supply with a stencil containing the various electrical symbols. If the
stencils are changed I have a mechanism to update my shapes on the
diagram using the shapes in the new stencil. Note, the positions of the
connectors on these shapes do not change.
For each shape, I drop the new shape on the diagram on top the existing
shape and copy over any required data. I then glue the dynamic
connector that was connected to the old shape onto the new shape.
Finally, I delete the old shape.
This works perfectly, 99% of the time. However, ocasionally Visio
decides to reroute the connector (more often when its a short straight
line). Ths can be all across the diagram or sometimes not even visible.
If I move one of the spurious segments and then do a Reset Connector
then the connector is redrawn correctly.
I have tried changing the ConFixedCode on the connector to never
reroute etc, but to no avail.
Anyone have any suggestions how I can prevent my dynamic connectors
from rerouting if I need to replace my shapes.
Thanks