Keep connection point on fix place on connector

Started by dkyndt, February 26, 2019, 06:08:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dkyndt

Hi all,

I'm already struggling a couple of days with keeping a connection point on a fix position on a connector.

I'm trying to make a smart shape that automatically adjusts depending on the shapedata feeded from a database.
One of my latest thing is that I have 2 connection points and 1 handle that must be 10mm from the begin of the connector and the same that must be 10mm from the end of the connector.
My problem is that they don't stay on the connector, depending on the connector path, they do not stay on the connectors path, and it is also not 10mm (or any other fixed distance)

attached you can find my connector.

Yacine

It won't solve all your problems but you could at least set the X and Y Behavior of the control points to OffsetMin resp. OffsetMax.
Yacine

wapperdude

Assuming you have V2010 or newer, you can do this with pointalongpath function.  It will take a little work because the function wants % of path, not a fixed amount.  So, the 10mm needs to convert to % of wavelength.

To get an idea, see this:  http://visguy.com/vgforum/index.php?topic=8695.0
Visio 2019 Pro

dkyndt

This solution worked for me.
Thank you.






Quote from: wapperdude on February 26, 2019, 02:29:36 PM
Assuming you have V2010 or newer, you can do this with pointalongpath function.  It will take a little work because the function wants % of path, not a fixed amount.  So, the 10mm needs to convert to % of wavelength.

To get an idea, see this:  http://visguy.com/vgforum/index.php?topic=8695.0