ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinEditor Class / AddGeometry Method
The geometry to add.
The surface type which indicates how the polygons 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 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 geometry. If you want to use the z-values from the input geometry, use AddGeometryZ

In This Topic
    AddGeometry Method (TinEditor)
    In This Topic
    Adds a geometry to the TIN. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Sub AddGeometry( _
       ByVal geometry As Geometry, _
       ByVal tinSurfaceType As TinSurfaceType, _
       ByVal tagValue As Integer, _
       ByVal z As Double _
    ) 

    Parameters

    geometry
    The geometry to add.
    tinSurfaceType
    The surface type which indicates how the polygons 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 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 geometry. If you want to use the z-values from the input geometry, use AddGeometryZ
    Exceptions
    ExceptionDescription
    This method must be called on the MCT. Use QueuedTask.Run.
    The geometry is null.
    The geometry is empty.
    The editor is not in edit mode.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also