Geometry has no Z values.

639
0
03-29-2019 04:30 AM
rajeshkumarg1
New Contributor III

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.

0 Kudos
0 Replies