Create Reviewer Session (Data Reviewer)

Zusammenfassung

Creates a new Reviewer session in the specified workspace.

Verwendung

Syntax

CreateReviewerSession_Reviewer (Reviewer_Workspace, Session_Name)
ParameterErläuterungDatentyp
Reviewer_Workspace

The workspace in which a new Reviewer session is going to be created.

Workspace
Session_Name

The name of the session that is going to be created in the Reviewer workspace.

String

Codebeispiel

CreateReviewerSession example (stand-alone Python script)

This stand-alone Python script creates a new session in the Reviewer.mdb workspace. The session is called "QC Pass 1".

# Name: CreateReviewerSession.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 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 a workspace
Reviewer_mdb = "C:/SampleData/Reviewer.mdb"

# Execute the Create Reviewer Session tool
arcpy.CreateReviewerSession_Reviewer(Reviewer_mdb, "QC Pass 1")

# check in the data reviewer extension
arcpy.CheckInExtension("datareviewer")

Umgebungen

Dieses Werkzeug verwendet keine Geoverarbeitungsumgebungen.

Verwandte Themen

Lizenzinformationen

ArcView: Erfordert Data Reviewer
ArcEditor: Erfordert Data Reviewer
ArcInfo: Erfordert Data Reviewer

9/16/2010