cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to create an object that displays a number increasing with placement

Emoke Csikos
Community Admin
Community Admin

ARCHICAD users often need to place texts containing numbers incrementally increasing with placement, e.g. steps of stairs, parking places, etc.

With some basic GDL programming knowledge you can create a simple object that contains this text.

In the 2D script you have to include these lines:

unID=1

hotspot2 0,0,unID : unID=unID+1

wp-content_uploads_2015_06_script.png

When the user places this object multiple times one-by-one, the value displayed by the object will get higher and higher with the placement as the ID of the object is getting a higher value.

wp-content_uploads_2015_06_parking-lots-1024x552.png

Still looking?

Browse more articles

Back to articles

See latest solutions

Accepted solutions

Start a new discussion!