I am trying to write a script to link my door rating to my wall rating in Revit. For example, if my wall is rated “1 HOUR” then my door will read “45 MIN”. Right now, I have figured out how to make this logic work for only two outcomes using an IF statement. I would like to be able to add in further logic to this script:
“NON-RATED” = “- -”
“1/2 HOUR” = “20 MIN”
“1 HOUR” = “45 MIN”
“2 HOUR” = “90 MIN”
current script attached with image DP - Door Rating = Wall Rating.dyn (6.3 KB)