IF Statement with Python Script or DesignScript Code Block

Here’s a link to an alternative design script solution: