We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2020-09-25 01:40 AM - last edited on 2021-09-15 09:45 AM by Noemi Balogh
Solved! Go to Solution.
2020-09-28 12:03 PM
Compatibility up to ARCHICAD 19: The use of most requests in parameter scripts (or master scripts run as parameter script) could result in unreliable returned values.
2020-09-25 11:28 AM
2020-09-28 12:03 PM
Compatibility up to ARCHICAD 19: The use of most requests in parameter scripts (or master scripts run as parameter script) could result in unreliable returned values.
2020-09-28 12:42 PM
2020-09-28 01:04 PM
1. Read the manual's GDL styling ... and start by adding spaces for god's sake, you're not saving bytes on your storage device worth considering and you're making reading the script a lot harder on everybody including yourself.Yeah, sorry about that, I'm a bit of a novice regarding this and I'm usually the only one reading these scripts. Let me know if the below is a bit easier to read.
PS. Regarding Moonlight's recommendations I think val_TSOM = 0 is perfect in the master script, the master script isn't executed after any script, only before. It needs to be initialized before the request, for the case the request fails.Thanks Peter, you were certainly correct about the val_TSOM (now bTsom per moonlights comments) I was getting an uninitialized variable warning without it.
2020-09-28 07:23 PM
Braza wrote:
Did you try to put the REQUEST on the Master Script? Or even in the Parameter Script?
Moonlight wrote:My bad.
copied from REQUEST OPTIONS > Request Parameter Script Compatibility > Page 481
ie: it means, that using request in Parameter Script or in Master Script were it's part of the script is being interpreted as Parameter Script will cause trouble
2020-09-29 03:02 AM
Moonlight wrote:
@MICHAEL ISERIEF
Using requests or any of their versions, and I quote from ArchiCAD's 23 GDL Reference GuideCompatibility up to ARCHICAD 19: The use of most requests in parameter scripts (or master scripts run as parameter script) could result in unreliable returned values.
copied from REQUEST OPTIONS > Request Parameter Script Compatibility > Page 481
ie: it means, that using request in Parameter Script or in Master Script were it's part of the script is being interpreted as Parameter Script will cause trouble