Hi Sovitek
Used your script as part of a larger script and works a charm!!!
(1) Curious though is there anyway to modify it to see the underside of a toposolid whereby I may have another toposolid (sub surface soil layer) cutting it, thereby eliminating the requirement to duplicate the script to select the subsurface layer
For context please refer to this link: Align Top Bottom Column with Toposolid - Revit - Dynamo (dynamobim.com)