Add Z information ignoring NoData values

Discussion created by mrkanister on Aug 19, 2011
Latest reply on Aug 19, 2011 by mrkanister

I have a continuous raster dataset and a polyline dataset. Now I would like to add the mean of all cell values which are intersect with the features of the polyline dataset.
It pretty much resembles the 3D Analyst Tool's "Add Z information"-tool, but with ignoring NoData. When I use the "Add Z information" and one of the features lies on a NoData cell, then the mean Z also gets NoData.
I appreciate any help.