Cut items in Revit

hello everyone!
Can you give me some ideas about this one?
I want to create a script Dynamo to Cut " between Floor and Beams".
it will create into separate parts.
You can see my idea as below pictures.

Hi @NGUYENNGIYEN

This will get you started:

You can then Get Inner Edges -> Merge Inner Lines -> Join all the Lines (PolyCurve.ByJoinedCurves) -> Surface.ByPatch -> Finally Get the area of Surface.

Good Luck!

I want to Cut it as the same This Video.