ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinEditor Class / AddPolylines Method
The polylines to add.
The surface type which indicates how the polylines are to be incorporated into the tin. The surface types which are valid depend on the type of geometry being entered. Points can only be entered as mass points. Polylines can be entered as hard or soft breakline types or have their vertices entered as mass points. Polygons can be entered as polygon, line, or mass surface types.
The tag value to be assigned to the new elements in the TIN. If the surface feature type is set to mass points the tag is assigned to the resulting TIN nodes. If the surface type is lineal, then the tags are assigned to edges. If the surface type is polygonal, then the tags are assigned to triangles. A value of 0 will result in no tag assignment.
The z-values for the added geometries. If you want to use the z-values from the polylines, then use AddPolylinesZ.
The spatial reference of the polylines. If it is the same as the TIN spatial reference, you can pass null. Otherwise, the polylines will be projected from the input spatial reference to the spatial reference of the tin.

In This Topic
    AddPolylines Method
    In This Topic
    Adds polylines to the TIN. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax

    Parameters

    polylines
    The polylines to add.
    tinSurfaceType
    The surface type which indicates how the polylines are to be incorporated into the tin. The surface types which are valid depend on the type of geometry being entered. Points can only be entered as mass points. Polylines can be entered as hard or soft breakline types or have their vertices entered as mass points. Polygons can be entered as polygon, line, or mass surface types.
    tagValue
    The tag value to be assigned to the new elements in the TIN. If the surface feature type is set to mass points the tag is assigned to the resulting TIN nodes. If the surface type is lineal, then the tags are assigned to edges. If the surface type is polygonal, then the tags are assigned to triangles. A value of 0 will result in no tag assignment.
    z
    The z-values for the added geometries. If you want to use the z-values from the polylines, then use AddPolylinesZ.
    spatialReference
    The spatial reference of the polylines. If it is the same as the TIN spatial reference, you can pass null. Otherwise, the polylines will be projected from the input spatial reference to the spatial reference of the tin.
    Exceptions
    ExceptionDescription
    This method must be called on the MCT. Use QueuedTask.Run.
    The polylines parameter is null.
    The editor is not in edit mode.
    The polylines are all null or empty.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also