ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SymbolFactory Class / GetRulePackageDescription Method
the path to the rule package

In This Topic
    GetRulePackageDescription Method (SymbolFactory)
    In This Topic
    Populate the associated rule package description. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public RulePackageDescription GetRulePackageDescription( 
       string rulePackagePath
    )
    Public 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