ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinEditor Class / SetSpatialReference Method
The spatial reference to set.
Example

In This Topic
    SetSpatialReference Method (TinEditor)
    In This Topic
    Sets a copy of the input spatial reference in the TIN. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetSpatialReference( 
       SpatialReference spatialReference
    )
    Public Sub SetSpatialReference( _
       ByVal spatialReference As SpatialReference _
    ) 

    Parameters

    spatialReference
    The spatial reference to set.
    Exceptions
    ExceptionDescription
    The spatial reference is null.
    This method must be called on the MCT. Use QueuedTask.Run.
    The editor is not in edit mode.
    Example
    Set the spatial reference
    // Set the spatial reference
    tinEditor.SetSpatialReference(SpatialReferenceBuilder.CreateSpatialReference(54004));
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also