ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / SymbolFactory Class / ConstructProceduralSymbol Method
full path to a rule package
FeatureLayer
ArcGIS.Core.CIM.CIMPrimitiveOverride

In This Topic
    ConstructProceduralSymbol Method (SymbolFactory)
    In This Topic
    Create a symbol reference with a procedural symbol layer for a rule package. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax

    Parameters

    rulePackagePath
    full path to a rule package
    featureLayer
    FeatureLayer
    overrides
    ArcGIS.Core.CIM.CIMPrimitiveOverride

    Return Value

    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    {rulePackagePath} not found or is inaccessible
    Invalid layer geometry type
    Rule package geometry type not compatible with FeatureClass geometry type.
    Procedural symbol cannot be applied to rasterized feature layers. Feature layers that are in the 2D Layers group in the Contents pane are rasterized
    Call to retrieve rule package attributes failed.
    Cannot use rule packages that create leaf shapes with procedural symbols.
    Remarks
    Pass in null (default) for the overrides parameter to have default field mappings applied in the renderer
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also