I've got a script wherein I'd like to toggle (gray out) certain fields, unless a file has been specified.
In the above image, I'd like Field A, B, and C to only be editable once a file has been selected in Input Worksheet. In updateParameters I've done the following, which doesn't seem to work:
def updateParameters(self): if self.params.value: self.params.enabled == True self.params.enabled == True self.params.enabled == True else: self.params.enabled == False self.params.enabled == False self.params.enabled == False
I've tried using
altered as well, nothing seems to work the way I'd like it to.