Author Topic: Keep connection point on fix place on connector  (Read 794 times)

0 Members and 1 Guest are viewing this topic.

dkyndt

  • Newbie
  • *
  • Posts: 2
Keep connection point on fix place on connector
« on: February 26, 2019, 01:08:04 AM »
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

  • Hero Member
  • *****
  • Posts: 2710
Re: Keep connection point on fix place on connector
« Reply #1 on: February 26, 2019, 01:58:29 AM »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3828
  • Ideas Visio-lized into solutions
Re: Keep connection point on fix place on connector
« Reply #2 on: February 26, 2019, 09:29:36 AM »
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

  • Newbie
  • *
  • Posts: 2
Re: Keep connection point on fix place on connector
« Reply #3 on: February 26, 2019, 02:26:23 PM »
This solution worked for me.
Thank you.






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