Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Versions toolset > Tools

Create Version (Data Management) (ArcInfo and ArcEditor only)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Creates a new version of the specified database.


Usage tips

Command line syntax
An overview of the Command Line window
CreateVersion_management <in_workspace> <parent_version> <version_name>

Parameter Explanation Data Type
<in_workspace>

The ArcSDE geodatabase that contains the parent version and will contain the new version. The default is to use the workspace defined in the environment settings.

Workspace
<parent_version>

The geodatabase, or version of a geodatabase, on which the new version will be based.

String
<version_name>

The name of the version to be created.

String
Data types for geoprocessing tool parameters


Command line example

createversion_management "d:\workspace",  "Database Connections\Connection to workspace.sde", "vegetation_fall02.sde"

Scripting syntax
About getting started with writing geoprocessing scripts
CreateVersion_management (in_workspace, parent_version, version_name)

Parameter Explanation Data Type
in_workspace (Required)

The ArcSDE geodatabase that contains the parent version and will contain the new version. The default is to use the workspace defined in the environment settings.

Workspace
parent_version (Required)

The geodatabase, or version of a geodatabase, on which the new version will be based.

String
version_name (Required)

The name of the version to be created.

String

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.toolbox = "management"
gp.createversion("d:\workspace",  "Database Connections\Connection to workspace.sde", "vegetation_fall02.sde")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.