How to changes blanks from a list

I have a script that is returning 1 or 0 from a Revit Yes/No parameter. The Revit Default is a grayed out check box, when this gets brought into Dynamo you get a blank value like #6 in the top list of the attached image.

I would like to change the value of this blank to be 0.

Please advise on how to do this. THanks

Hi Dennis,

One of the possible way is to use Replace.ByCondition. Below is an example.

1 Like

Thanks that worked