We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2019-07-17 08:57 AM
x = 0.38 x2 = 1.08 if x=x2 then print 1 else print 2check script : use of real types can result...
x = 0.38 x2 = 1.08 if x-x2 then print 2 else print 1 endif
2019-07-17 10:50 AM
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2019-07-17 11:10 AM
2019-07-18 04:01 AM
2019-07-18 04:15 AM
If a <> b then d else c
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2019-07-18 10:45 AM
if length = 5 then. Specify a level of precision in your script and then use it for all floating point comparisons, e.g.:
eps = 1e-4 if abs(length - 5) < eps thenGS is right in calling this to your attention – handling precision incorrectly can be really irritating (or costly) for the end user otherwise.