Kinematic Envelope in Civil 3D

Hi all,


I want to check the vehicle clearance over the track. i dont know how to proceed with dynamo in civil 3d to develop kinematic envelope

Clearance Envelope | Dynamo

I tried but its not working well. Could you please explain this little bit more?