Atif Shadab

After assigning different cross sections( i.e., rectangle and Z ) to the same line body in the same problem of a static structure, the result appears different for deformation. I thought ansys doesnt consider cross section on a line body, but why does my solution differ?someone explain please.