ArcGIS Pro 2.7 API Reference Guide
ConstructProceduralSymbol Method (SymbolFactory)

ArcGIS.Desktop.Mapping Namespace > SymbolFactory Class : ConstructProceduralSymbol Method
full path to a rule package
FeatureLayer
ArcGIS.Core.CIM.CIMPrimitiveOverride
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 10, Windows 8.1

See Also

Reference

SymbolFactory Class
SymbolFactory Members