2022-05-24 10:39 PM
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)
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
Juan
2022-05-24 10:53 PM
Try to change parameter "gs_fill_pen" to its PEN type, not FILL ?
2022-05-24 11:07 PM
Thanks, sadly it keeps crashing here 😞
2022-05-24 11:12 PM
And lineTypeAttribute_1 should be a 'line' type parameter and not a 'pen'.
Barry.
2022-05-24 11:26 PM
Thank you I missed that one too 😑
It keeps crashing to me.
2022-05-24 11:50 PM
hm... what about status code? why it is 33? what if you switch it to 15 and to -1 in the last row ?
2022-05-25 02:01 AM
That status came from dragging the poly from the floorplan to the 2d script.
I changed just in case and no difference 😞
2022-05-25 02:16 AM
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.
2022-05-25 02:42 AM - edited 2022-05-25 02:42 AM
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.
2022-05-25 03:07 AM - edited 2022-05-25 03:09 AM
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
2022-05-25 04:15 AM
Thank you for testing it, and the sample file. I have no idea what is happening honestly. Mine freeze as well.
2022-05-25 05:16 AM
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.
2022-05-25 06:18 AM
@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
2022-05-25 09:01 PM
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.
2022-05-26 10:25 PM
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