ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinEditor Class / AddGeometryZ 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.

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

    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.
    Exceptions
    ExceptionDescription
    This method must be called on the MCT. Use QueuedTask.Run.
    The geometry is null.
    The geometry is empty or geometry.HasZ is false.
    The editor is not in edit mode.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also