Learn
Explore
Blog
Forum
Roadmap
Resources
Primer
Dictionary
Developer
Builds
Events
DesignScript Guide
Help Center
Get Dynamo
Privacy
Dynamo
If Statement in Code Block Suddenly Not Working REVIT 25
DesignScript
dynamo
Vikram_Subbaiah
September 6, 2024, 9:44am
3
You can use a Code Block instead
x == 4 ? y * 0.60 : x == 3 ? y * 0.65 : x == 2 ? y * 0.70 : y;
2 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
IF Statement AND/OR
DesignScript
revit
,
designscript
,
dynamo
9
33305
August 13, 2019
Code block formulas visualization
Revit
dynamo
4
274
June 7, 2022
If Control Not Working?
Revit
revit
,
python
,
dynamo
2
272
June 10, 2020
All Code Blocks are Blank - Anyone seen this before?
Revit
dynamo
1
317
December 23, 2021
Troubleshooting a simple codeblock error
Revit
revit
,
python
,
dynamo
4
213
February 9, 2023