Skip to content

Commit

Permalink
take out building layer logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ojlarson committed Oct 25, 2024
1 parent 4975f0d commit 8dd67a3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions WildfireExposure.pyt
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,12 @@ class WildfireExposure(object):
parameters[18].value = os.path.join(home, os.path.basename(parameters[9].valueAsText)[:10] + '_Exposure_Combined.tif')
elif parameters[14].enabled and parameters[14].value:
parameters[18].value = os.path.join(home, os.path.basename(parameters[14].valueAsText)[:10] + '_Exposure_Combined.tif')
if parameters[16].value:
if parameters[16].value.isFeatureLayer and not parameters[17].altered:
parameters[17].value = True
elif parameters[16].value.isRasterLayer:
parameters[17].value = False
parameters[17].enabled = False
#if parameters[16].value:
#if parameters[16].value.isFeatureLayer and not parameters[17].altered:
#parameters[17].value = True
#elif parameters[16].value.isRasterLayer:
#parameters[17].value = False
#parameters[17].enabled = False


def updateMessages(self, parameters):
Expand Down

0 comments on commit 8dd67a3

Please sign in to comment.