We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2021-09-09 02:28 PM
Using the Zone Tool and Expressions to calculate parking bays..
Instead of 20,00 and 13,00 it should read 20 & 13.
i also would like to add text that says Bays at the end, to read 20 bays
I'd like the value on the zone stamp to not show decimal's is there a way to do this?
Solved! Go to Solution.
2021-09-09 02:58 PM
Make the "Street Parking" Property an "Integer" Data Type instead of a "Number" Data Type.
2021-09-09 03:28 PM - edited 2021-09-09 03:31 PM
Actually, the whole thing can be achieved within a single Expression:
The exact Property Expression for copy-pasting it into your Property Expression Editor Dialog (triple-click to select it).
CONCAT ( STR ( ROUNDDOWN ( ( {Property:General Parameters/Area} / 1 m2 ) / 12.5, 0 ), 0 ), " spaces" )
2021-09-09 02:58 PM
Make the "Street Parking" Property an "Integer" Data Type instead of a "Number" Data Type.
2021-09-09 03:05 PM
thank you..
2021-09-09 03:09 PM
what about adding text after, eg. 20 bays
2021-09-09 03:26 PM
Use the STR operator to convert your Integer to a String, and then use the CONCAT operator to create a single String out of the number and the " spaces" text.
2021-09-09 03:28 PM - edited 2021-09-09 03:31 PM
Actually, the whole thing can be achieved within a single Expression:
The exact Property Expression for copy-pasting it into your Property Expression Editor Dialog (triple-click to select it).
CONCAT ( STR ( ROUNDDOWN ( ( {Property:General Parameters/Area} / 1 m2 ) / 12.5, 0 ), 0 ), " spaces" )
2021-09-09 06:10 PM
You are Awesome Thank you so much!!
This was Great!
2021-09-09 06:38 PM
CONCAT ( STR ( ROUNDDOWN ( ( {Property:General Parameters/Area} / 1 m2 ) / 12,5; 0 ); 0 ); " spaces" )
The Windows Version.
2021-09-09 07:29 PM
It is an operating system localization difference rather than an operating system version difference. I am on Windows too, but use another localization setting.
Your system is using the , character (comma) as a decimal character, while mine is using the . character (dot). Thus, in Property Expressions, your system needs to use the ; character between parameters, while my system needs to use the , character.
2021-09-09 09:10 PM
I see, thank you..