Sets a new value of the 3D flag for the curve. 3D flag determines whether the curve is a 3D object (if it equals true) or not (in this case the flag value equals false).