Visio Guy

Visio Guy Website & General Stuff => Suggestion Box => Topic started by: jmeeks on January 03, 2017, 11:10:49 PM

Title: Self Healing Shapes
Post by: jmeeks on January 03, 2017, 11:10:49 PM
I'd like to see an article which explains the "magic" on how Shapes can "automatically" rotate, align, attach, clean up to other Shapes.

Is there an article which explains in detail the "Connection Points" for these Shapes and how those Points control the associated behavior?

Thanks!
Title: Re: Self Healing Shapes
Post by: Surrogate on January 03, 2017, 11:46:25 PM
Connection Point Directions & Types (http://www.visguy.com/2006/10/12/connection-point-directions-types/)
Title: Re: Self Healing Shapes
Post by: jmeeks on January 16, 2017, 11:17:31 PM
Thank you for that reference.  It's another good example of the power of Visio to revise a Shapes Graphics.

What I was suggesting and asking for however, was a detailed article, maybe using an out of the box Visio Shape like the "Opening" Shape in the Walls, Shell and Structure Stencil as basic example, and showing the details which control it's particular behavior and interaction with other Shapes on a Document.  I like the articles which explain the details on why and how things work the way they do in Visio

Thanks!
Title: Re: Self Healing Shapes
Post by: Nikolay on January 17, 2017, 06:27:25 AM
The magic of shapes like "opening" is not in the shapes themselves, there is a "background" support addin that watches the drawing and updates it when appropriate.

So you won't find anything in those shapes, all magic lies in that code-behhind. Normally these shapes just have markers in user section for the addin to recognize them.

Usually that code is solution -specific, means, it will work only for the shape it was written for (like org chart for example)