ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinEditor Class / AddPolygons Method
The polygons to add.
The surface type which indicates how the polygons are to be incorporated into the tin. Polygons can be entered as polygon, line, or mass points 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 polygons, use AddPolygonsZ.
The spatial reference of the polygons. If it is the same as the TIN spatial reference, you can pass null. Otherwise, the polygons will be projected from the input spatial reference to the spatial reference of the tin.

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

    Parameters

    polygons
    The polygons to add.
    tinSurfaceType
    The surface type which indicates how the polygons are to be incorporated into the tin. Polygons can be entered as polygon, line, or mass points 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 polygons, use AddPolygonsZ.
    spatialReference
    The spatial reference of the polygons. If it is the same as the TIN spatial reference, you can pass null. Otherwise, the polygons 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 polygons parameter is null.
    The editor is not in edit mode.
    The polygons are all null or empty.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also