We are trying to migrate geometry from one feature class to other using ArcObjects C#. In our case, Z values are disabled for the Source Feature Class but it is enabled for the Target Feature Class.
This is giving error while assigning the shapecopy of source geometry to the shape of target feature buffer.
Code is like as follows:
targetFeatureBuffer.Shape = sourceFeature.Shape;
Error : Geometry has no Z values.
Kindly suggest the best approach for the same.