ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.Topology Namespace / TopologyElement Class / GetShape Method

In This Topic
    GetShape Method (TopologyElement)
    In This Topic
    Gets the shape of this topology element. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Function GetShape() As Geometry
    public Geometry GetShape()

    Return Value

    The shape of this topology element.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also