<!-- PLEASE ENSURE YOU REVIEW THE CONTENT OF EACH ISSUE CAREFULLY, INCLUDING SUBSEQUENT COMMENTS BY YOURSELF OR OTHERS. --> <!-- IN PARTICULAR PLEASE ENSURE THAT SENSITIVE OR INAPPROPRIATE INFORMATION IS NOT UPLOADED --> #### Description: <!-- Describe your issue here --> As pointed out by @pawelbaran here https://github.com/BHoM/BHoM_Engine/pull/3536#discussion_r2300368311 The GetLineSegment method currently returns a new Line() if it fails to find anything. SHould most likely return a null instead. #### Steps to reproduce: <!-- Please tell us how to reproduce this issue --> #### Expected behaviour: <!-- What result would you expect from the fix? --> #### Test file(s): <!-- Link to test files to help reproduce the bug and validate the proposed fixes -->