ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Core Namespace / GeoprocessingOptions Class / SetAnalyzeScriptsAndModels Method

In This Topic
    SetAnalyzeScriptsAndModels Method
    In This Topic
    Sets whether script and model tools are run through a compatibility-checking routine to ensure they can run successfully. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public void SetAnalyzeScriptsAndModels( 
       bool analyzeScriptsAndModels
    )
    Public Sub SetAnalyzeScriptsAndModels( _
       ByVal analyzeScriptsAndModels As Boolean _
    ) 

    Parameters

    analyzeScriptsAndModels
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Remarks
    Note: see ArcGIS.Desktop.Core.Geoprocessing.GPExecuteToolFlags for available options for modifying behavior of ArcGIS.Desktop.Core.Geoprocessing.Geoprocessing.ExecuteToolAsync. Changing these parameters modifies behavior of interactive GP tools
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also