Skip to main content

CheckOutExtension

Summary

Retrieves the license from the License Manager.

Discussion

Legacy:

Starting with ArcGIS Pro 3.7, the Concurrent Use license type is deprecated and no longer supported. As a result, this function no longer performs any action. The function is retained for backward compatibility with existing scripts, but has no effect, and is not required when running tools that use extension licenses.

Syntax

CheckOutExtension(extension_code)

Parameter Explanation Data Type

extension_code

Specifies the extension product to be checked out.

String

Return value

Data Type Explanation

String

The function returns a string indicating the success or failure of the checkout.

  • NotInitialized—No license has been set.

  • Unavailable—The requested license is unavailable to be set.

  • CheckedOut—The license has been set successfully.