ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • 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 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

What is ArcPyProduction?

Available with Production Mapping license.

  • Module import
  • General help

ArcPyProduction is a site package that contains a function and a module to access key ArcGIS Production Mapping functionality. This package provides the ability to call functionality through Python to automate workflows. Similar in concept to the ArcPy site package in ArcGIS and its associated modules, this package provides a native Python experience that offers code completion (you can type a keyword and a dot to get a pop-up list of properties and methods supported by that keyword, then select one to insert it). There is reference documentation for each function.

Module import

The ArcPyProduction module must be imported to run any of the functions. Code autocomplete is only available once it has been imported. The ArcPy site package is also required since the ArcPyProduction functions are built upon arcpy objects.

Use the following keywords to import the module.

import arcpy
import arcpyproduction
Note:

Unlike other extensions (for example, Network Analyst), where the geoprocessing tools in the extension can be accessed using both ArcPy and the extension's module (such as arcpy.na), Production Mapping geoprocessing tools can be accessed using ArcPy only and not the ArcPyProduction site package.

import arcpy
arcpy.CalculateVisualSpecifications_production(<arguments list>)

General help

Python provides the facility of documentation strings. The functions and classes available in ArcPyProduction use this method for the package documentation. One method of reading these messages and getting help is by using the command help provided by Python. Running the command with the following argument displays the calling signature and the documentation string of the object.

import arcpyproduction
help(arcpyproduction)

Another method for getting help is the code completion provided by ArcPyProduction. Any time you type a function name and begin to enter arguments, the help and function usage are displayed in the help window.

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

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