I am having some issues with creating a script to count stairwells from a stair shapefile. I have two shapefiles one being stairs and another one being stairwell. I was instructed to use this code and make a simple script. i am not used to working with python so if you can help that would be much appreciated. code is pasted below.
def createInternalParallelLines():
# import libraries
import arcpy
# set input/output parameters
polyFC = arcpy.GetParameterAsText(0) # input polygons
outParallel = arcpy.GetParameterAsText(1) # output parallel lines
lineSpacing = arcpy.GetParameterAsText(2) # line spacing
buffDist = arcpy.GetParameterAsText(3) # inner buffer distance
# parse numbers from parameters
lineSpaceNum = float(lineSpacing.split(' ')[0])