Creating classes

To use classes for input parameters for geoprocessing tools, you must first create them. Once instantiated, you can access their properties and query or modify the objects. The easiest way to learn how to create the various class objects is to see examples of them being created using different input types.

TipTip:

The documentation for each class contains a scripting example of how each can be defined and used in a tool parameter.

Classes created with a fixed number of inputs

Classes created with Python lists or list of lists

Classes created from a series of classes within a list

Default arguments

Related Topics

3/7/2014