ArcGIS Desktop

  • Documentation
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Create ArcInfo Workspace

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Creates a workspace with an INFO subdirectory.

Usage

  • The workspace name must be unique.

Syntax

CreateArcInfoWorkspace_management (out_folder_path, out_name)
ParameterExplanationData Type
out_folder_path

Location where the ArcInfo workspace will be created.

Folder
out_name

Name of the ArcInfo workspace to be created.

String

Code sample

CreateArcInfoWorkspace example 1 (Python window)

The following Python Window script demonstrates how to use the CreateArcInfoWorkspace function in immediate mode.

import arcpy
from arcpy import env

arcpy.CreateArcInfoWorkspace_management("C:/output", "aiworkspace")
CreateArcInfoWorkspace example 2 (stand-alone Python script)

The following Python script demonstrates how to use the CreateArcInfoWorkspace function in a stand-alone script.

# Name: CreateArcInfoWorkspace_Example2.py
# Description: Create an ArcInfo workspace

# Import system modules
import arcpy
from arcpy import env

# Set workspace
env.workspace = "C:/data"

# Set local variables
out_folder_path = "C:/output" 
out_name = "aiworkspace"

# Execute CreateArcInfoWorkspace
arcpy.CreateArcInfoWorkspace_management(out_folder_path, out_name)

Environments

  • Current Workspace
  • Scratch Workspace

Licensing information

  • ArcGIS Desktop Basic: No
  • ArcGIS Desktop Standard: No
  • ArcGIS Desktop Advanced: Yes

Related topics

  • An overview of the Workspace toolset
  • What is a coverage?

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2017 Esri. | Privacy | Legal