漏洞
漏洞 ID 编号 | BUG-000173844 |
---|---|
已提交 | January 24, 2025 |
上次修改时间 | July 14, 2025 |
适用范围 | ArcGIS Pro |
找到的版本 | 3.3.2 |
操作系统 | Windows OS |
操作系统版本 | N/A |
状态 | In Review |
Here are two possible workarounds to handle the issue while waiting for a resolution:
If certain parameters (like Minimum Angle for the Cutbacks Rule) are not visible in the ArcPy output, you can manually enter the parameter value into the rule’s Description field during rule creation.
The Export Attribute Rules geoprocessing tool includes all parameters when exporting to a CSV file. You can use this tool programmatically via Python and read the exported CSV to extract complete information.
Here’s an example script:
python
CopyEdit
import arcpy
import pandas as pd # Pandas comes pre-installed in the ArcGIS Pro Python environment
# Path to the feature class and output CSV
feature_class = r"path_to_your_feature_class" # Replace with actual feature class path
output_csv = r"path_to_exported_csv.csv" # Replace with the desired CSV file path
# Run the Export Attribute Rules GP Tool
arcpy.ExportAttributeRules_management(feature_class, output_csv)
# Read the CSV file using Pandas
df = pd.read_csv(output_csv)
# Print the exported attribute rules with all parameters
print(df)
# Optional: Save specific parameters to another file or process as needed
df.to_csv(r"path_to_processed_csv.csv", index=False)
漏洞 ID: BUG-000173844
软件:
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序