Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detecting if I'm in a "Connection" control point
#2
If e.ControlPoint.Connection == null, then you are on a control point that is not connected. And your null reference exception is because you don't test if e.ControlPoint.Connection is not null before using it.
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: Detecting if I'm in a "Connection" control point - by _Aka_ - 01-28-2018, 12:21 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb Junction & Connection Navigation System Design SAMYTHEBIGJUICY 6 4,063 03-25-2026, 10:10 PM
Last Post: _Aka_
  Control Point Interpolation Overrides. rickgplus 1 738 12-11-2025, 08:52 AM
Last Post: _Aka_
  12_Train junction point richardzzzarnold 5 3,800 04-16-2025, 02:19 PM
Last Post: _Aka_
  OnAfterControlPointAdded - Control Point is null jh092 5 3,533 02-04-2025, 09:31 PM
Last Post: _Aka_

Forum Jump: