2018-08-14 05:22 AM
2018-08-14 05:43 AM
2018-08-14 06:15 AM
2018-08-14 06:35 AM
2018-08-14 01:23 PM
2018-08-15 07:53 AM
2018-08-15 09:05 AM
DavorP wrote:You can do the same to compare zone areas to an overall building area.
However, there is a workaround for calculations involving site area. Enter the site area in project info. Then create an expression where you use string to number conversion because ArchiCAD does not treat site area in project info as number, but as text. Since the site area should not change, you should only have to enter it once.
2019-01-12 11:55 AM
poco2013 wrote:
You may be under a misunderstanding:
expressions can only address properties for one element at a time. You can not introduce areas for two different zones in one expression since the error control feature will detect that for any area in which the expression is being evaluate, that one of the areas will not be valid for that element so the whole expression will be invalid. This is because properties contain a GUID which prevents name collisions between similar names of different elements.
There is a workaround but too cumbersome - IMNOHO.
Basically you need three expressions one each to return the area of each zone. This solves the problem of having more than one element property type in one expression. Then a third expression to do the calculation.
Zone cal for each zone to return its area;
IF ( {Property:General Parameters/Element ID} = "ZONE-01", {Property:Zone/Calculated Area}, 0 ft2 )
IF ( {Property:General Parameters/Element ID} = "ZONE-02", {Property:Zone/Calculated Area}, 0 ft2 )
returns area - data type
Final cal:
CONCAT ( STR ( ( {Property:expressions/Zone02} / {Property:expressions/Zone01} * 100 ), 0 ), "%" )
returns string
The expression classifications must match the elements. This only works if the expression are only applicable (limited) to zones 1 &2 which you can do via custom classifications.
As I said somewhat unreasonable limitation. better to just get out your calculator and pencil?