Execute Reviewer Batch Job (Data Reviewer)

Resumen

Runs a Reviewer batch job on a workspace and writes the results to a Reviewer session.

Uso

Sintaxis

ExecuteBatchJob_Reviewer (Reviewer_Workspace, Session_Name, Batch_Job_File, {Production_Database}, {Version})
ParámetroExplicaciónTipo de datos
Reviewer_Workspace

The workspace where the Reviewer batch job results are going to be written.

Workspace
Session_Name

The name of the Reviewer session that is going to store the features and records reported by the batch job.

String
Batch_Job_File

The path to the Reviewer batch job file that is going to be executed.

File
Production_Database
(Opcional)

The production database on which you want to run the Reviewer batch job.

Workspace
Version
(Opcional)

The ArcSDE geodatabase version on which to run the Reviewer batch job.

String

Ejemplo de código

ExecuteReviewerBatchJob example (stand-alone Python script)

In the following example, the SoCal_GeoOnGeoChecks.rbj batch job, is run on the Edit_Sample geodatabase. The results are written to the Geo On Geo session.

# Name: ExecuteReviewerBatchJob.py
# Description: Creates a reviewer session in a geodatabase
# 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 the data and batch job file
Edit_Sample_gdb = r'C:\SampleData\Edit_Sample.gdb'
SoCal_GeoOnGeoChecks_rbj = r'C:/SampleData/Batch_Jobs/SoCal_GeoOnGeoChecks.rbj'

# Execute Reviewer Batch Job function
arcpy.ExecuteBatchJob_Reviewer(Edit_Sample_gdb, "Geo On Geo", SoCal_GeoOnGeoChecks_rbj)

# Check in the Data Reviewer extension
arcpy.CheckInExtension("datareviewer")

Entornos

Esta herramienta no utiliza ningún entorno de geoprocesamiento

Temas relacionados

Información de licencia

ArcView: Requiere Data Reviewer
ArcEditor: Requiere Data Reviewer
ArcInfo: Requiere Data Reviewer

9/30/2010