// Add polylines with tagValue = 42 and height = 12.
// The polylines are in a different spatial reference than the tin editor, so we provide the spatial
// reference of the polylines. The polylines will be projected to the spatial reference of the tin editor.
tinEditor.AddPolylines(polylines, TinSurfaceType.ZLessSoftLine, 42, 12, SpatialReferenceBuilder.CreateSpatialReference(54004));
// Add z-aware polylines with no tag value. The height comes from the z-values of the vertices.
// The polylines are in the same spatial reference as the tin editor, so there is no need to provide it.
tinEditor.AddPolylinesZ(polylinesZ, TinSurfaceType.HardLine, 0);