Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Schematics toolbox > Tools

Create Schematic Folder (Schematics)

Release 9.3
Last modified December 23, 2008
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Creates a schematic folder in a schematic dataset or schematic folder


Usage tips

Command line syntax
An overview of the Command Line window
CreateSchematicFolder_schematics <out_location> <out_name>

Parameter Explanation Data Type
<out_location>

The schematic dataset or schematic folder in which the folder will be created. This container must already exist.

Schematic Dataset |Schematic Folder
<out_name>

Name of the output schematic folder.

String
Data types for geoprocessing tool parameters


Command line example

workspace C:\ArcGIS\ArcTutor\Schematics\Schematics\ElecDemo.gdb
CreateSchematicFolder_schematics ElecDemo MySchematicRootFolder
CreateSchematicFolder_schematics ElecDemo\MySchematicRootFolder MySchematicSubFolder

Scripting syntax
About getting started with writing geoprocessing scripts
CreateSchematicFolder_schematics (out_location, out_name)

Parameter Explanation Data Type
out_location (Required)

The schematic dataset or schematic folder in which the folder will be created. This container must already exist.

Schematic Dataset |Schematic Folder
out_name (Required)

Name of the output schematic folder.

String

Data types for geoprocessing tool parameters


Script example

# Create the Geoprocessor object and set the environment
import arcgisscripting
msgNoLicenseAvailable = "Schematics license required"
gp = arcgisscripting.create()
try:
    if gp.CheckExtension("Schematics") == "Available":
       gp.CheckOutExtension("Schematics")
    else:
       raise "LicenseError"
except "LicenseError":
    print msgNoLicenseAvailable
gp.OverWriteOutput = 1

# Local variables
workspace = "C:\ArcGIS\ArcTutor\Schematics\Schematics\ElecDemo.gdb"

# Set the current workspace
gp.workspace = workspace

# Process: CreateSchematicFolder to create a main root schematic folder
gp.CreateSchematicFolder_schematics("ElecDemo", "MySchematicRootFolder")
# Process: CreateSchematicFolder to create a sub schematic folder in the newly created main folder
gp.CreateSchematicFolder_schematics("ElecDemo\MySchematicRootFolder", "MySchematicSubFolder")

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