I am working on a Python script to import a cad dwg into a gdb file. For Point features, I need to set its XYZ Values as attributes. I am getting the X,Y value from the point as x= "float(!SHAPE.CENTROID!.split()[0])" y= "float(!SHAPE.CENTROID!.split()[1])"
Can anyone suggest me how to get a point Z Value ?