We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2013-08-19 10:07 AM
2013-08-21 04:32 PM
If SYMB_MIRRORED THEN .... EndifSo you would not have to write
If SYMB_MIRRORED = 1 THEN .... EndifThis of course works best if the variable is a Boolean Type because its value is then always either TRUE (1) or FALSE (0).
2013-08-21 04:45 PM
laszlonagy wrote:You are right László.
I seem to remember reading this somewhere in GDL documentation.
Basically you create an equation which evaluates to TRUE (1) or FALSE (0). I think it is also possible to create a numeric expression the result of which can be 1 (which will be TRUE) or some other value (which will be FALSE) - I am not totally sure about this part, that a non-1 value will be considered FALSE, so please test this if you use it.
But a simple use of this would be something like
If SYMB_MIRRORED THEN .... EndifSo you would not have to write
If SYMB_MIRRORED = 1 THEN .... EndifThis of course works best if the variable is a Boolean Type because its value is then always either TRUE (1) or FALSE (0).
2013-08-27 11:58 AM
laszlonagy wrote:In fact, all non-zero values are TRUE.
I am not totally sure about this part, that a non-1 value will be considered FALSE,
2013-08-27 12:43 PM