Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2023-08-25 06:19 PM
Hello - Is there a recommended way to continue a lengthy Expression in a new Sequence?
I've put together an Expression to schedule Zones using the IFS statement but seem to have reached a character limit. I tried continuing it as a new IFS statement in a new sequence but only the items in the first sequence are able to be defined - every item which falls within the parameters of the second sequence return as "undefined" in my schedule.
Any help would be appreciated.
Thanks.
2023-09-28 01:56 PM - edited 2023-09-28 01:57 PM
You could try to divide your expression into two seperate properties, handle them accordingly, and then unite their outcome in a third property.
Prop 1a:
if storey > 5 then
<first half of code>
else
<some very special value>
endif
Prop 1b:
if storey <= 5 then
<second half of code>
else
<another very special value>
endif
Prop 2:
ifs
Prop 1a # <some very special value> then Prop 1a
Prop 1b # <another very special value> then Prop 1b
true then <failure value>