View by status   

Tools should checkout and release necessary licenses and extensions automatically

  • 800
    Points

  • ArcGIS should automatically grab a license when required by a tool and then release it once the tool has finished. That way the license server only blocks if everyone decides to use Spatial Analyst etc. all at once.

    source: http://gis.stackexchange.com/questions/2667/managing-arcgis-floating-licenses/2670#2670
    Tags :
     license, management, geoprocessing
    Posted by   maphew  to ArcGIS Desktop Oct 18, 2010

Share this idea Report Abuse

Comments (1)


Please log in to post a comment.






Chris_Fox 
Jun 30, 2011

Thank you for posting your idea. One way to accomplish this now is through Python. The arcpy module has several functions that support the ability to checkout and checkin licenses. Below is some sample code demonstrating this process where you would like to Run a Hillshade which requires a 3D license and the process to check if a license is availble and if so check it out. Once the tool runs it checks the license back in.

import arcpy
from arcpy import env

try:
    if arcpy.CheckExtension("3D") == "Available":
        arcpy.CheckOutExtension("3D")
    else:
        # raise a custom exception
        #
        raise LicenseError

    env.workspace = "D:/GrosMorne"
    arcpy.HillShade_3d("WesternBrook", "wbrook_hill", 300)
    arcpy.CheckInExtension("3D")

except LicenseError:
    print "3D Analyst license is unavailable"



 

 

Terms and Conditions   |    Feedback   |   FAQs
Previous MonthNext Month
SunMonTueWedThuFriSat