ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork.Trace Namespace / PathTracer Class / Export Method
The path of a JSON file where the trace results will be exported.
Input parameters to a trace, TraceArgument.
The options that describe how the trace will be exported, TraceExportOptions.

In This Topic
    Export Method (PathTracer)
    In This Topic
    Executes a path trace and exports the results to a json file.
    Syntax
    Public Overrides NotOverridable Sub Export( _
       ByVal outputJsonPath As Uri, _
       ByVal traceArgument As TraceArgument, _
       ByVal traceExportOptions As TraceExportOptions _
    ) 

    Parameters

    outputJsonPath
    The path of a JSON file where the trace results will be exported.
    traceArgument
    Input parameters to a trace, TraceArgument.
    traceExportOptions
    The options that describe how the trace will be exported, TraceExportOptions.
    Exceptions
    ExceptionDescription
    outputJsonPath, traceArgument, and/or traceExportOptions are null.
    traceArgument is constructed using TraceArgument.TraceArgument Constructor(Subnetwork).

    This operation is not supported in client-server mode.

    -or-

    traceArgument contains unsupported result types.

    A geodatabase-related exception has occurred.
    Requirements

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

    ArcGIS Pro version: 3.7 or higher.
    See Also