Write To Reviewer Table (Data Reviewer)
概要
Writes a feature class, feature layer, or table to the Reviewer table.
使用法
This tool is typically used in ModelBuilder to write the results of a previous tool to the Reviewer table.
Use this tool to write any feature class, feature layer, or table view to the Reviewer table.
The tool writes geometries from feature classes and layers to the applicable Reviewer REVTABLEPOINT, REVTABLELINE, or REVTABLEPOLY feature class.
-
If you are running this tool during a Reviewer session, the Reviewer table must be closed then reopened to see the new records.
構文
パラメータ | 説明 | データ タイプ |
in_features |
The features or table records to write to the Reviewer table. | Feature Layer;Table View |
in_field |
The field that contains identifiers for the features. The value from this field populates the OBJECTID field in the Reviewer table. The field you choose must have a data type of Long. | Field |
in_origin_table_name |
The string or field value that is going to be used to populate the ORIGINTABLE field in the Reviewer table for each record that is written. This is typically the name of the feature class or table.
| String;Field |
in_reviewer_workspace |
The path to the Reviewer workspace where the features or table records will be written. | Workspace |
in_session |
The name of the Reviewer session where the features or table records will be written. | String |
in_subtype (オプション) |
The feature class subtype to which the features belong. This can be derived from a specified value or a field on the feature class. The value from this parameter populates the SUBTYPE field in the Reviewer table.
| String;Field |
in_notes (オプション) |
Text that populates the NOTES field in the Reviewer table. The notes are used to provide a more specific description of the feature or table record. | String |
in_severity (オプション) |
A numeric value that represents the significance of the features or table records that have been written to the Reviewer table. The values range from 5 (low importance) to 1 (high priority). This value populates the SEVERITY field in the Reviewer table. | String |
コード サンプル
In this example, the LandmarkAreas features are imported into Session 1 in the Reviewer.gdb workspace.
# Name: WriteToReviewerTable.py # Description: Imports features into the Reviewer table # Author: ESRI # Date: June 2010 # Import arcpy module import arcpy # Check out a Data Reviewer extension license arcpy.CheckOutExtension("datareviewer") # Import the Data Reviewer toolbox - you may have to alter this path arcpy.ImportToolbox(r'C:/Program Files/ArcGIS/Desktop10.0/ArcToolbox/Toolboxes/Data Reviewer Tools.tbx') # Path to feature class and Reviewer workspace LandmarkAreas = "C:/Data/Tutorials/Reviewer/GDB/California.gdb/Landmarks\LandmarkAreas" Reviewer_gdb__2_ = "C:/Data/Tutorials/Reviewer/GDB/Reviewer.gdb" # Execute the Write to Reviewer Table function arcpy.WriteToReviewerTable_Reviewer(LandmarkAreas, "OBJECTID", "NAME", Reviewer_gdb__2_, "Session 4 : QC_Pass_1", "Landmarks", "New landmark areas", "3") # Check in the Data Reviewer extension arcpy.CheckInExtension("datareviewer")