We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

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

Emoke Csikos
Graphisoft
Graphisoft

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

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!