Curve.TrimByParameter cannot be executed in Civl3D 2023

I am thinking of selecting a Polyline I have drawn in Civl3D and trimming it.
However, Curve.TrimByParameter works for Dynamo in Civil3D 2024, but I can see the error in Civil3D 2023.
I have attached the Dynamo and dwg files we are using, please check them.

Here is the version information I am using.
・Civil3D 2024.3 Update
・Dynamo v.2.19.4

・Civil 3D 2023.3.2 Update
・Dyamo Civil 3D 2.15.0.1510
CurveTrimByParameter-test.dyn (16.8 KB)
line.dwg (950.9 KB)