2023-07-11 05:29 PM - last edited on 2023-07-17 11:46 PM by Laszlo Nagy
Need help to resolve my calculation problem. In canada we have to multiply area per person. Let say that 0.75 m2 per person. So I multiply my zone calculated area by area per person. Error this argument expect a Non-unit value.
Anyone can help me
2023-07-11 05:31 PM
2023-07-12 07:54 AM - edited 2023-07-12 07:59 AM
I'm just wondering whether your Data Type should be [Area] instead of [Integer].
Your expression is dealing with two values that are both areas - so the resulting product should also be an area...
...*EDIT* Ignore that - it should work anyway.
2023-07-12 08:26 AM - edited 2023-07-12 08:27 AM
Your data type should be 'Number' not 'Integer'.
Also you want to divide the calculated area by the area per person, not multiply.
Barry.
2023-07-17 11:53 PM - edited 2023-07-17 11:54 PM
mhoude,
You have to divide "Calculated Area" by "Area per person", not multiply it.
The unit of "Calculated Area" is Area (m2).
The unit of "Area per person" should also be Area (m2).
The result of this division will be a Number, which will be converted to an Integer by the ROUNDDOWN function so the Data Type of the "Number of Occupants" needs to be Integer.
Actually, I just checked this in Archicad 26, and the Property Manager already contains Properties for this purpose.
Under the "ZONES" Property Group, you will find the "Area per Occupant" and "Number of Occupants" Properties.
2023-07-17 11:58 PM
"Area" divided by "Area" is not "Area".
The "Area" Data Type is in m2.
The "Area per Occupant" Data Type is also m2.
When you divide one with the other, the result is not another "Area" Data Type, it is a "Number" Data Type, since m2 / m2 is a number without any unit of measurement.