T2B = arcpy.Array([arcpy.Point(1,2),arcpy.Point(-1, -2)])
L2R = arcpy.Array([arcpy.Point(0, 2), arcpy.Point(1, -2)])
L2R_line = arcpy.Polyline(L2R)
T2B_line = arcpy.Polyline(T2B)
cent = L2R_line.intersect(T2B_line, 1)
arcpy.AddMessage("X co_ordinate "+str(cent.X))
I am trying to find intersection of two polylines.Here is my sample code
But this is not printing x cordinate of intersection point.I would like to know how to get x and y cordinates from “cent” object. Thank you In advance