Disable glue for specific shape

Started by JleruOHeP, December 27, 2012, 07:51:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JleruOHeP

Hi!
Can you help me - how can I disable glue for specific shape? It is little complicated as for document I set GlueSettings to visGlueToGeometry...
So for all shapes glue must be enabled for any point, and for specific shapes (of given master) glue must be disabled.
Is it possible?

vojo

gluetype cell in shape sheet

something like
   gluetype = if(<condition to glue>,0,8)

JleruOHeP


Surrogate

you mean glue between specific shapes or between specific shapes and connectors ?

if between shapes you can try in cell Type / C

if both shapes have same values in this cell then they cann't glue

JleruOHeP

Thanks for your answer, but no, it is between shape and connector.
Any thoughts?

vojo

apologies on miss direction

FYI...if a shape with connectors is in a group, there is cell at the group level that will turn off all subshape connector points.
I forget the name but its in the section of group attributes....middle column....bottom row I think

JleruOHeP

Thank you very much, vojo! this is it!
This property is IsSnapTarget in GroupProperties

JleruOHeP

Found another, better solution - without groups!
There is Geometry.NoSnap property. I discribed this solution here: http://jleruohep.blogspot.ru/2013/01/how-to-disable-glue-in-visio.html

Paul Herber

That doesn't stop glueing though, it might change the way connectors snap and glue to the shape, but depends very much on your global Snap & Glue settings.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

Paul Herber

Try creating a layer (call it noGlue or something), set the layer properties to NoGlue and put the shape on that layer.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

JleruOHeP