Split sub elemented floor

Dear All,
Based on topo i have adjusted the sub element point for floor. How to split the floor through dynamo script.