Script Tool Working but not working correctly

Discussion created by Xhosa on Dec 12, 2011
Latest reply on Dec 12, 2011 by Xhosa

I am a little confused on why my script tool is not working. I run it and it finishes with no issues but nothing happens. I have even tried to simplify it down and the same thing happens (runs and finishes with no errors but doesn't complete its task)

The tool is a simple add field and then clip to an area. Please help I am trying to get this code to work for a class project as an add on component.

import arcpy
from arcpy import env


    inTest = arcpy.GetParameterAsText(0)    
    clipArea = arcpy.GetParameterAsText(1)
    outFeature = arcpy.GetParameterAsText(2)

    arcpy.env.workspace = "S:/TallPinesGIS/Data"

# Add Field to Polygon for ranking
    arcpy.Addmessage('Adding Fields')
# Clip Features to current Project Area
    arcpy.Addmessage('Clipping features outside of project area')

    print arcpy.GetMessages()