Shape cross-section and maxscript

Hello,

My name is Ludovic and I have a problem. How to do a cross-section between two splines by maxscript ? I don't find help.

Thanks.