Disponible avec une licence Data Reviewer.
Résumé
Writes a feature class, feature layer, or table to the Reviewer table.
Utilisation
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.
Syntaxe
WriteToReviewerTable_Reviewer (in_reviewer_workspace, in_session, in_features, in_field, in_origin_table_name, in_review_status, {in_subtype}, {in_notes}, {in_severity})
Paramètre | Explication | Type de données |
in_reviewer_workspace | The path to the Reviewer workspace where the features or table records will be written. | Workspace |
in_session | The Reviewer session ID in which the features or table records will be written. Use the full session ID format—Session 1 : Session 1. | String |
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_review_status | A status string to associate with the group of records written to the reviewer table. The default value is Write GP Results to Reviewer Table. | String |
in_subtype (Facultatif) | 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 (Facultatif) | 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 (Facultatif) | 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 |
Exemple de code
WriteToReviewerTable example (stand-alone Python script)
In this example, the LandmarkAreas features are imported into Session 1 in the Reviewer.sde workspace.
# Name: WriteToReviewerTable.py
# Description: Imports features into the Reviewer table
# Author: ESRI
# Date: May 2011
# Import arcpy module
import arcpy
# Check out a Data Reviewer extension license
arcpy.CheckOutExtension("datareviewer")
# Path to feature class and Reviewer workspace
coastl = r'c:\data\SoCal_Sample.sde\SoCal\coastl'
reviewer_work = r'c:\data\reviewer.sde'
# Exec Write to Reviewer Table
arcpy.WriteToReviewerTable_Reviewer(reviewer_work, "Session 1 : FeatureImport", coastl, "OBJECTID", "coastl")
# Check in the Data Reviewer extension
arcpy.CheckInExtension("datareviewer")
Environnements
Cet outil n'utilise aucun environnement de géotraitement
Informations de licence
- ArcGIS Desktop Basic: Requiert Data Reviewer
- ArcGIS Desktop Standard: Requiert Data Reviewer
- ArcGIS Desktop Advanced: Requiert Data Reviewer