Hi Joska,
I don't know how it works with Z values, but the following sample code seems to work...
Don't know if this answers your needs.
Ciao
Oscar
I don't know how it works with Z values, but the following sample code seems to work...
Dim flayer As FeatureLayer
flayer = TryCast(Map1.Layers.SelectedLayer, FeatureLayer)
Dim k As Integer = 0
For i As Integer = 0 To flayer.FeatureSet.Z.Count - 1
'For j As Integer = 0 To fef.FeatureSet.Features.Count - 1
flayer.FeatureSet.Z(i) = ZZZZZ 'your desired Z value
'Next
Next
flayer.DataSet.Save()
It seems that the Z attribute is an array of Z coordinates for all of the points in your polyline shapefile. To me it seems that if you have 2 features, the first one with 4 coordinates and the second one with 10 coordinates, the Z array will contains 14 values, the former 4 related to the first feature, the latter 10 to the secondDon't know if this answers your needs.
Ciao
Oscar