Adding to a parameter in parameter script
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-02-09 02:00 AM
2015-02-09
02:00 AM
parameters test = test + 1
the script may run multiple times during one user operation. A parameter that is assigned 1 to start with could then be 4 after one single user operation. Is there a workaround for this?
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-02-09 03:12 AM
2015-02-09
03:12 AM
Sure, see this post.
http://archicad-talk.graphisoft.com/viewtopic.php?p=186160&highlight=first+run#186160
Barry.
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
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-02-09 04:03 AM
2015-02-09
04:03 AM
Thanks Barry,
Didnt see that little gem in the gdl manual. Much appreciated.
Too bad it doesn't work for the master script aswell.
Didnt see that little gem in the gdl manual. Much appreciated.
Too bad it doesn't work for the master script aswell.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-02-10 05:54 PM
2015-02-10
05:54 PM
Hello Mark,
Did you try it in the master script - I think it
works there too.
Did you try it in the master script - I think it
works there too.
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-02-19 12:48 AM
2015-02-19
12:48 AM
Juha wrote:@Juha
Hello Mark,
Did you try it in the master script - I think it
works there too.
You are right, my first attempt had a type I didn't see. All works well! thanks.
n = APPLICATION_QUERY ("PARAMETER_SCRIPT", "FIRSTOCCASION_IN_PROGRESS", isFirstRun)