ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.KnowledgeGraph Namespace / KnowledgeGraphInvestigation Class / GetAllFilteredFindPathsConfigurations Method
Example

In This Topic
    GetAllFilteredFindPathsConfigurations Method
    In This Topic
    Gets all the ArcGIS.Core.CIM.CIMFilteredFindPathsConfigurations for this investigation. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Function GetAllFilteredFindPathsConfigurations() As IReadOnlyList(Of CIMFilteredFindPathsConfiguration)
    public IReadOnlyList<CIMFilteredFindPathsConfiguration> GetAllFilteredFindPathsConfigurations()

    Return Value

    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Example
    Retrieve Investigation Filtered Find Paths Configurations
    {
      // access the currently active knowledge graph investigation view
      KnowledgeGraphInvestigationView activeView = KnowledgeGraphInvestigationView.Active;
      KnowledgeGraphInvestigation investigation = activeView?.Investigation;
      if (investigation != null)
      {
        await QueuedTask.Run(() =>
        {
          // get all the configurations
          var configurations = investigation.GetAllFilteredFindPathsConfigurations();
    
          // get a specific FFP configuration
          var myConfiguration = investigation.GetFilteredFindPathsConfiguration("FFPConfig1");
        });
      }
    }
    Requirements

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

    ArcGIS Pro version: 3.7 or higher.
    See Also