Sequential numbering

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-08-23
03:07 PM
- last edited on
‎2021-09-14
08:50 AM
by
Noemi Balogh
‎2021-08-23
03:07 PM
I want to create a simple shape that displays an increasing number.
I tried the following, but it does not work
https://helpcenter.graphisoft.com/knowledgebase/49523/
Any suggestions?
I tried the following, but it does not work
https://helpcenter.graphisoft.com/knowledgebase/49523/
Any suggestions?
Mac OSX 13.6.6 | AC 27 INT 5003 FULL
Labels:
- Labels:
-
Library (GDL)
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-08-23 05:24 PM
‎2021-08-23
05:24 PM
Sorry, that example is not relevant to the title, something has mixed up.
If the element ID (of anything, not just GDL objects) contain a number before placement, it will be auto-incremented after placement in the info box.
You just need to show that ID from GDL:
text2 0,0, GLOB_ID
If the element ID (of anything, not just GDL objects) contain a number before placement, it will be auto-incremented after placement in the info box.
You just need to show that ID from GDL:
text2 0,0, GLOB_ID
Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest
Software Engineer, Library
Graphisoft SE, Budapest

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-08-24 02:25 PM
‎2021-08-24
02:25 PM
Hi Peter,
Sorry, I don't know why the example is not relevant to the title... maybe I'm missing something? The link is about an object that displays a number that increases with each placement. That is exactly what I want to do, but following the instructions I didn't get that result...
Anyway, thanks to your suggestion I was able to display the number, but after 9, it goes to 0 and then starts over again... Why is this happening?
Thanks
Sorry, I don't know why the example is not relevant to the title... maybe I'm missing something? The link is about an object that displays a number that increases with each placement. That is exactly what I want to do, but following the instructions I didn't get that result...
Anyway, thanks to your suggestion I was able to display the number, but after 9, it goes to 0 and then starts over again... Why is this happening?
Thanks
Mac OSX 13.6.6 | AC 27 INT 5003 FULL

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2021-08-25 03:21 AM
‎2021-08-25
03:21 AM
Achille wrote:That article is titled as increasing a displayed text number, but it is actually about increasing a Hotspot ID number.
Sorry, I don't know why the example is not relevant to the title... maybe I'm missing something? The link is about an object that displays a number that increases with each placement. That is exactly what I want to do, but following the instructions I didn't get that result...
Nothing to do with text.
Peter explained the procedure as you have used.
Achille wrote:Make the first ID number 01 or 001 instead of just 1.
Anyway, thanks to your suggestion I was able to display the number, but after 9, it goes to 0 and then starts over again... Why is this happening?
The more zeros (numerals) you have, the further you will get before it resets.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11