Glue to Shape Issue

Started by metuemre, July 20, 2016, 02:06:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

metuemre

Hi all,

Is there a way to disable glue to shape feature in Visio 2013 ?

In my application connectors should glue only to "Connection Points". To do that I disabled all the options in "Snap&Glue" window under "Glue To" section except for "Connection points" but connectors still glue to shapes as well. I couldnt find a way to disable it.

JuneTheSecond

I think you need to check if the glue is enabled.
For example.

    If ActiveDocument.GlueEnabled Then
        Set vsoCell1 = ActiveWindow.Page.Shapes.ItemFromID(2).CellsU("EndX")
        Set vsoCell2 = ActiveWindow.Page.Shapes.ItemFromID(1).CellsSRC(7, 0, 0)
        vsoCell1.GlueTo vsoCell2
    End If

Best Regards,

Junichi Yoda
http://june.minibird.jp/