Choose your top Archicad wishes!

Read more
Project data & BIM
About BIM-based management of attributes, schedules, templates, favorites, hotlinks, projects in general, quality assurance, etc.

Continuing lengthy Expression

AG617
Participant

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.

1 REPLY 1
Stefan L_
Advisor

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>

 

 

--
Stefan
AC ...-27, WIN10

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!