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

Multiply Quantity using Expressions

JCCARLOS91
Enthusiast

Hi,

 

I am trying to calculate for parking requirements for various apartment types.

 

Right now, I've created a schedule that counts the number of zones plotted in each apartment unit. Ideally, one unit (meaning one zone) equals to just one count of parking. But in the 2 bedroom apartments, there is a requirement of 2 parkings per unit. 

 

How can I create an expressions that multiplies the count of a zone into 2 or 3?

 

 

John Carlos
AC25 | iMac 2019
1 REPLY 1
AllanP
Expert

I assume that you are using different Zone Categories for apartment units

so:

add an integer property and

add the expression:

 

IF ( {Property:Zone/Zone Category} = "1 BED", 1, IF ( {Property:Zone/Zone Category} = "2 BED", 2, IF ( {Property:Zone/Zone Category} = "3 BED", 3, 0 ) ) )

 

which will give you a 0 if the value is not "1 BED" or "2 BED" or "3 BED"

or you could use

 

IFS ( {Property:Zone/Zone Category} = "1 BED", 1, {Property:Zone/Zone Category} = "2 BED", 2 ,{Property:Zone/Zone Category} = "3 BED", 3 ,TRUE, 0)

 

which will give you an 0  if the value is not "1 BED" or "2 BED" or "3 BED"

 

 

AllanP_0-1698965894234.png

 

add the field from " parameters and properties"

AllanP_2-1698966141828.png

 

AllanP_1-1698966054633.png

then sum the properties,

and "Hey Presto, you have baked a cake..."

I hope this is useful.

 

P.S.

using if statements:

file:///C:/Program%20Files/GRAPHISOFT/ARCHICAD%2025/Help/Files/index.htm?rhcsh=1&rhnewwnd=0#t=_AC25_...

 

 

file:///C:/Program%20Files/GRAPHISOFT/ARCHICAD%2025/Help/Files/index.htm?rhcsh=1&rhnewwnd=0#t=_AC25_...

 

 

 

 

I have been using ArchiCAD continually since ArchiCAD 4.5, 4.5.5, 5, 5.1, 6, 6.5, 7, 8, 8.1, 9, 10, 11, 12, 13, 15, 18, 21, 22, 25, now testing 27
Member of Architalk since 2003, but missed the migration to Graphisoft.
(where have all my original posts gone?)