问题

问题:ArcGIS Pro 中的“计算”和“计算字段”选项被禁用

Last Published: August 8, 2023

描述

In ArcGIS Pro, when attempting to calculate fields in an attribute table, the Calculate and Calculate Field options are disabled.

The disabled Calculate and Calculate Field options

原因

There are several reasons for this issue. Refer to ArcGIS Pro: Field Calculator is unavailable for more information.

Additionally, the Field Calculator is disabled when the layer is not editable due to the following causes:

  • The editing capabilities of the layer is not enabled.
  • The layer type is non-editable in ArcGIS Pro.
  • The table type is non-editable in ArcGIS Pro.

解决方案或解决方法

Depending on the cause, use one of the options below to resolve the issue.

The editing capabilities of the layer is not enabled

In ArcGIS Pro, in the Contents pane, click the List By Editing tab, and check the layer to enable editing. Refer to ArcGIS Pro: Specify which layers can be edited for more information.

Click the List by Editing tab in the Contents pane

The layer type is non-editable in ArcGIS Pro

  1. In the Contents pane, browse to and right-click the layer.
  2. Click Data > Export Features. The Export Features pane opens.
  3. Run the Export Features tool to convert the feature layer to a feature class.
    1. In the Export Features pane, on the Parameters tab, click the drop-down arrow, and select the non-editable layer for Input Features.
    2. For Output Feature Class, specify a location and name to export the output feature class.
    3. Click OK.
The Export Features pane

The image below shows the Calculate and Calculate Field options are enabled in the attribute table of the output feature class.

The attribute table of the output feature class

The table type is non-editable in ArcGIS Pro

  1. In the Contents pane, browse to and right-click the table.
  2. Click Data > Export Table. The Export Table pane opens.
  3. Run the Export Table tool to export the stand-alone table to a new table.
    1. In the Export Table pane, on the Parameters tab, click the drop-down arrow, and select the non-editable table for Input Table.
    2. For Output Table, specify a location and name to export the output table.
    3. Click OK.
The Export Table pane

The image below shows the Calculate and Calculate Field options enabled in the output table.

The output table with the Calculate and Calculate Field options enabled

文章 ID:000024801

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

相关信息

发现关于本主题的更多内容