Hi there,
I think this may help. It looks through a list of depths and exports a feature class from the source data that is queried for each depth, and then also a tin. It's just a quick hack so there's no error handling etc. Also I'm not sure how to properly embed code, hopefully this works.
Cheers,
Marc
# IMPORT ARCPY
import arcpy
arcpy.OverwriteOutput = True
# SCRIPT VARIABLES
sr = arcpy.SpatialReference(2193)
# MAKE SURE INPUT AND OUTPUT DATA/GDB EXIST
out_fgdb = r"C:\Temp\out.gdb"
out_folder = r"C:\Temp"
surv_pts = r"C:\Temp\s_pts.shp"
surv_lyr = arcpy.MakeFeatureLayer_management(surv_pts)
depth_list = [1,2,3,4,5]
# VALUES FOR TIN CREATION
depth_field = "depth"
tin_type = "Mass_Points <None>"
# ITERATE THROUGH DEPTHS, OUTPUT FEATURE CLASSES AND TINS
for d in depth_list:
fc_name = "points_{}".format(d)
fc_path = "{}\{}".format(out_fgdb,fc_name)
query = "depth = {}".format(d)
tin_path = r"{}\tin_{}".format(out_folder,d)
# CREATE A FEATURECLASS IN THE OUTPUT FGDB
arcpy.FeatureClassToFeatureClass_conversion(surv_lyr, out_fgdb, fc_name, query)
tin_def = "{} {} {}".format(fc_path, depth_field, tin_type)
# CREATE A TIN IN THE OUTPUT FOLDER
arcpy.CreateTin_3d(tin_path,
sr,
tin_def,
constrained_delaunay="DELAUNAY")