Display malfunction of Graphisoft ID dashboard
Learn more
cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
VideshN
Participant

Expressions In Zone Stamp Rounded Number no Decimal

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

Iimage.pngimage.png'd like the value on the zone stamp to not show decimal's is there a way to do this?

2 Solutions

Accepted Solutions
Laszlo Nagy
Community Admin
Community Admin

Make the "Street Parking" Property an "Integer" Data Type instead of a "Number" Data Type.

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac29

Go to post

Laszlo Nagy
Community Admin
Community Admin

Actually, the whole thing can be achieved within a single Expression:

 

PropertyExpression-CONCAT2.png

 

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" ) 

 

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac29

Go to post

9 Replies 9
Laszlo Nagy
Community Admin
Community Admin

Make the "Street Parking" Property an "Integer" Data Type instead of a "Number" Data Type.

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac29
VideshN
Participant

thank you..

VideshN
Participant

what about adding text after, eg. 20 bays

Laszlo Nagy
Community Admin
Community Admin

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.

PropertyExpression-CONCAT.png

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac29
Laszlo Nagy
Community Admin
Community Admin

Actually, the whole thing can be achieved within a single Expression:

 

PropertyExpression-CONCAT2.png

 

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" ) 

 

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac29
VideshN
Participant

You are Awesome Thank you so much!!

This was Great!

VideshN
Participant

CONCAT ( STR ( ROUNDDOWN ( ( {Property:General Parameters/Area} / 1 m2 ) / 12,5; 0 ); 0 ); " spaces" ) 
The Windows Version.

Laszlo Nagy
Community Admin
Community Admin

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.

Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac29
VideshN
Participant

I see, thank you..

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!