RS ShootRay on trimmed srfs

Is there a way to just make a new brep that does not include the trimmed part?

unless I am missing something, if I have 1000 brep objects and do shootray, I can pass those 1000 breps, but then need to make a for loop to go over each one and use ClosestPoint, correct?

thank you