ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ISymbolFactory Interface / GetRulePackageDescription Method
the path to the rule package

In This Topic
    GetRulePackageDescription Method (ISymbolFactory)
    In This Topic
    Populate the associated rule package description. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    RulePackageDescription GetRulePackageDescription( 
       string rulePackagePath
    )
    Function GetRulePackageDescription( _
       ByVal rulePackagePath As String _
    ) As RulePackageDescription

    Parameters

    rulePackagePath
    the path to the rule package

    Return Value

    A populated rule package description.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    {rulePackagePath} not found or is inaccessible
    Cannot use rule packages that create leaf shapes with procedural symbols.
    Call to retrieve rule package attributes failed.
    Remarks
    Package description includes the geometry type and all (non-hidden) rule package attributes.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also