GDL
About building parametric objects with GDL.

Constant crash when changing pen attributes AC24

jc4d
Expert

Hello,

 

I'm having a constant crash on my ac24 when I try to change the lines or fills in my custom gdl object. I have reduced to the minimum and still the crash is replicable.

Since yesterday I have sent the bug reports because ac force me to, here is the bug number:
AC24-2022-05-25-05-32-48-9545

 

It doesn't crash by one specific value, it is random when changing few of them.

https://www.youtube.com/watch?v=KuxCt8GlfxE 

 

Here is the object: (I had to use wetransfer because the forum is not letting me upload the object)

https://we.tl/t-DFoKchflC2 

 

The code is this if you don't want to download the object:

PEN penAttribute_1
FILL gs_fill_type
SET LINE_TYPE lineTypeAttribute_1

GOSUB 100


END

100:
poly2_b{5}       5,      2,      1,      3,     gs_fill_pen,     -1, 
                   0,            0,            1,            0,            0,            1,            0, 
                   0,            0,     33, 
                   0,        -0.02,     33, 
        0.05200001438073,        -0.02,     33, 
        0.05200001438073,            0,     33, 
                   0,            0,     33
RETURN

att.JPG

 

Juan

14 REPLIES 14

Thank you for testing it, and the sample file. I have no idea what is happening honestly. Mine freeze as well.

Barry Kelly
Moderator

I wouldn't think there is any difference between 25 and 24 for this.

Do you have the latest version of 24 installed (build 7006)?

What operating system are you using?

Are you able to test it on another machine?

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

@Barry Kelly wrote:

Do you have the latest version of 24 installed (build 7006)?


Not that one since everyone is using 6004 and we are not allow to update it.

 


@Barry Kelly wrote:

What operating system are you using?


Win10

 


@Barry Kelly wrote:

Are you able to test it on another machine?

 


I just did and it seems like is working.

Here at the office we use it in Finnish, but I develop the objects using the INT version since I'm used to work with all my software in English. I say this because I did try the same object in the Finnish version and the INT one and both had the problem.

 

Juan

For something that simple the build shouldn't matter.

But I (and Graphisoft of course) always recommend using the latest build.

 

Windows 10 should not be a problem either.

I just asked because there seems to be problems with the latest MAC OS and older versions.

But again something as simple as this should not be an issue.

 

The language version should not be an issue either.

 

If you have tried it on another machine and it has worked then I would suspect something wrong with the machine where it is not working.

Strange that it doesn't work in either language version on that machine.

As each language version is a separate installation of the software, I would say it is not an Archicad problem.

I would be suspecting the machine itself.

Check video drivers are up to date and there is free space on the hard drive.

 

I am not sure what else you can try except follow up with the bug report number with your local Archicad support and see what they say.

 

Barry.

 

 

 

 

 

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
jc4d
Expert

Thank you all for chime in and helping me out to solve this problem. Great advices, spotting few problems I had with some parameters and even sample files, greatly appreciated to all.

 

Juan