Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Constant crash when changing pen attributes AC24

jc4d
Advocate

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

A_ Smith
Advocate

Try to change parameter "gs_fill_pen" to its PEN type, not FILL ?

AC 22, 24 | Win 10

Thanks, sadly it keeps crashing here 😞

And lineTypeAttribute_1 should be a 'line' type parameter and not a 'pen'.

 

Barry.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Thank you I missed that one too 😑

It keeps crashing to me.

hm... what about status code? why it is 33? what if you switch it to 15 and to -1 in the last row ?

AC 22, 24 | Win 10

That status came from dragging the poly from the floorplan to the 2d script.
I changed just in case and no difference 😞

I just downloaded your object and tried it in 25.

Once I fixed the parameter types it seems to be working just fine for me.

 

There is no perimeter on the polygon, but if you change it to ... poly2_b{5} 5,3,..........

there will be.

 

Barry.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Thank you for checking it out, sadly I need to keep using 24 since is a multi office project and we need to keep using the same version.
And no matter what I try, even writting a new script on a blank new ac instance, it crashes or just freeze and I need to force quit ac.

 

 

it doesn't crash, at least after 30 sec of changing...

https://drive.google.com/file/d/17kSgy8x_cpVO_QsVwV9OE4Yuv71Lqj7H/view?usp=drivesdk

 

though i have 'spining circle' when choosing fills, but it doesn't crash

AC 22, 24 | Win 10

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 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10


@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 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

jc4d
Advocate

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

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!