Visio Guy

Visio Discussions => ShapeSheet & Smart Shapes => Topic started by: Visisthebest on February 20, 2022, 11:58:16 AM

Title: Can I configure 2D shape connection points to only accept 2D shape connections?
Post by: Visisthebest on February 20, 2022, 11:58:16 AM
Is it possible to configure a connection point on a 2D shape to only accept connections/glue from other 2D shapes, and refuse connection/glue from 1D shapes?

(I want to glue 2D shapes together on specific connection points, but to prevent 1D connectors from connecting/gluing to these connection points)
Title: Re: Can I configure 2D shape connection points to only accept 2D shape connections?
Post by: freshlychurnedbutter on February 20, 2022, 01:03:52 PM
One way I can think of is to check if the 1D endpoint section exists for that shape and filter them out that way.
Title: Re: Can I configure 2D shape connection points to only accept 2D shape connections?
Post by: Visisthebest on February 20, 2022, 02:31:14 PM
Certainly possible but better if I can just prevent a 1D connection via a shapesheet setting.
Title: Re: Can I configure 2D shape connection points to only accept 2D shape connections?
Post by: wapperdude on February 21, 2022, 12:38:52 AM
Not aware of any such stylesheet functionality.  Connection points don't care who possesses them.

If you have multiple connection points on a side and try to glue to another 2D shape with identically spaced connection points, then, if I'm not mistaken, only one connection point will actually glue.  Visio will select whichever point is closest to the mouse cursor.  This would be a problem if you need connectivity info for every point.