2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations
2023-04-05 07:16 PM
Opening the door setting with ctrl+T gives an error.
POLY2_B 5,7,1,19,
HWO+0.02,-cumInThk , 1,
HWO+0.02,-cumInThk-cumCoThk, 1,
HA ,-cumInThk-cumCoThk, 1,
HA ,-cumInThk , 1,
HWO+0.02,-cumInThk ,-1
There are no errors here.
POLY2_B 4,7,1,19,
HWO+0.02,-cumInThk , 1,
HWO+0.02,-cumInThk-cumCoThk, 1,
HA ,-cumInThk-cumCoThk, 1,
HA ,-cumInThk , 1
Solved! Go to Solution.
2023-04-06 12:28 AM
Hi,
if the polygon has no thickness (cumCoThk = 0 or HWO+0.02= HA), then you get that error message.
I hope this helps.
2023-04-06 12:28 AM
Hi,
if the polygon has no thickness (cumCoThk = 0 or HWO+0.02= HA), then you get that error message.
I hope this helps.
2023-04-06 03:09 AM
thank you
If it is 0, you have to think about errors.
Is there any way to solve it?
2023-04-06 03:17 AM
if cumCoThk # 0 and HWO+0.02 # HA then
POLY2_B 4,7,1,19,
HWO+0.02,-cumInThk , 1,
HWO+0.02,-cumInThk-cumCoThk, 1,
HA ,-cumInThk-cumCoThk, 1,
HA ,-cumInThk , 1
endif
2023-04-06 03:45 AM - edited 2023-04-06 04:24 AM
You can set a Range to the size parameter.
VALUES cumInThk range(0,]
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 |
2023-04-06 03:49 AM
ESP = 0.0001
if ABS(cumCoThk) > ESP and ABS(HWO+0.02 -HA)> ESP then
POLY2_B 4,7,1,19,
HWO+0.02,-cumInThk , 1,
HWO+0.02,-cumInThk-cumCoThk, 1,
HA ,-cumInThk-cumCoThk, 1,
HA ,-cumInThk , 1
endif
2023-04-06 03:53 AM - edited 2023-04-06 03:53 AM
Square bracket [ will incorporate <=, round bracket ( is just <
Barry.
2023-04-06 07:50 AM
page 260
VALUES "par4" 4, RANGE(5, 10], 12, RANGE(,20] STEP 14.5, 0.5, CUSTOM
thank you
With your help, I think I've gone one step further. ^^
2023-04-06 08:09 AM - edited 2023-04-06 08:11 AM
I'm sorry, Barry.
This is caused by pressing the wrong button.
And I'm sorry I don't understand what you mean at all.
I can't even find it in the manual.
Could you please explain in a bit more detail?
2023-04-06 08:19 AM - edited 2023-04-06 08:28 AM
the parameter range
https://gdl.graphisoft.com/gdl-basics/parameter-logic
so
values "MyParameter" RANGE[0,10]
will start at 0 (Include 0) and go to 10 (include 10)when using "[" square bracket
i.e. from 0 to 10
values "MyParameter" RANGE(0,10)
will start after 0 (Not include 0) and go to just before 10 (not include 10)when using "(" curved bracket.
i.e. from 0.001 to 9.999
your example:
RANGE(5, 10]
has "(" curved bracket to begin, so 5 is not included at the beginning of the range
has "]" square bracket at the end, so 10 is included at the end of the range,
i.e. from 5.001 to 10