BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
GDL
About building parametric objects with GDL.
SOLVED!

Opening the door setting with ctrl+T gives an error.

LeeJaeYoung
Virtuoso

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

LeeJaeYoung_0-1680714787339.png

 

 

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

 

AC27 on window 11
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
AllanP
Advocate

Hi,

if the polygon has no thickness (cumCoThk = 0 or HWO+0.02= HA), then you get that error message.

I hope this helps.

I have been using ArchiCAD continually since ArchiCAD 4.5, 4.5.5, 5, 5.1, 6, 6.5, 7, 8, 8.1, 9, 10, 11, 12, 13, 15, 18, 21, 22, 25, now testing 27
Member of Architalk since 2003, but missed the migration to Graphisoft.
(where have all my original posts gone?)

View solution in original post

10 REPLIES 10
Solution
AllanP
Advocate

Hi,

if the polygon has no thickness (cumCoThk = 0 or HWO+0.02= HA), then you get that error message.

I hope this helps.

I have been using ArchiCAD continually since ArchiCAD 4.5, 4.5.5, 5, 5.1, 6, 6.5, 7, 8, 8.1, 9, 10, 11, 12, 13, 15, 18, 21, 22, 25, now testing 27
Member of Architalk since 2003, but missed the migration to Graphisoft.
(where have all my original posts gone?)

thank you
If it is 0, you have to think about errors.

Is there any way to solve it?

AC27 on window 11

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

I have been using ArchiCAD continually since ArchiCAD 4.5, 4.5.5, 5, 5.1, 6, 6.5, 7, 8, 8.1, 9, 10, 11, 12, 13, 15, 18, 21, 22, 25, now testing 27
Member of Architalk since 2003, but missed the migration to Graphisoft.
(where have all my original posts gone?)
Lingwisyer
Guru

You can set a Range to the size parameter.

 

VALUES cumInThk range(0,]

 

 

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660

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

I have been using ArchiCAD continually since ArchiCAD 4.5, 4.5.5, 5, 5.1, 6, 6.5, 7, 8, 8.1, 9, 10, 11, 12, 13, 15, 18, 21, 22, 25, now testing 27
Member of Architalk since 2003, but missed the migration to Graphisoft.
(where have all my original posts gone?)

Square bracket  [  will incorporate <=, round bracket  (  is just <

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

page 260

VALUES "par4" 4, RANGE(5, 10], 12, RANGE(,20] STEP 14.5, 0.5, CUSTOM

LeeJaeYoung_0-1680760119132.png

 

thank you
With your help, I think I've gone one step further. ^^

 

AC27 on window 11

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?

AC27 on window 11

the parameter range

https://gdl.graphisoft.com/gdl-basics/parameter-logic

AllanP_0-1680761605533.png

 

 

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

 

 

 

I have been using ArchiCAD continually since ArchiCAD 4.5, 4.5.5, 5, 5.1, 6, 6.5, 7, 8, 8.1, 9, 10, 11, 12, 13, 15, 18, 21, 22, 25, now testing 27
Member of Architalk since 2003, but missed the migration to Graphisoft.
(where have all my original posts gone?)
Learn and get certified!