We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

GDL
About building parametric objects with GDL.
SOLVED!

Own GDL AC 26 doesnt work in AC 27

NicKo
Participant

Hi There,

Our client made a few GDL Elements in AC 24. They are looking perfect in AC 26. But if you open this with AC 27, they have no 3D and a warning about locally line type.

You can check this in a new AC 26 and new AC 27 file.

What is different in AC 27?

 

Thanks and regards Nico

 

Bib in AC26.png

 

Bib in AC27.png

 

Warning.jpg

  

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Pertti Paasky
Expert

Sorry, I don´t know the reason why AC27 is more intolerant than AC26 but

to solve the problem add 2 linetype parameters in the parameter tab.

 

lineTypeAttribute_1

lineTypeAttribute_2

 

then it should work.

- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.

View solution in original post

3 REPLIES 3
Solution
Pertti Paasky
Expert

Sorry, I don´t know the reason why AC27 is more intolerant than AC26 but

to solve the problem add 2 linetype parameters in the parameter tab.

 

lineTypeAttribute_1

lineTypeAttribute_2

 

then it should work.

- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
Barry Kelly
Moderator

Line 42 in the 3D script .... sect_attrs{2} penAttribute_2, lineTypeAttribute_2

 

It has an optional parameter ... lineTypeAttribute_2

 

That isn't actually a parameter in the parameter list, so the parameter either needs to be created to set the line type, or delete it from that command.

 

I don't have 27 available to me at the moment, so I can't check it in there.

But I am guessing that the checks in 27 might be a little more sensitive than 26 where it doesn't seem to matter.

 

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
NicKo
Participant

Hi Guys

Thanks for your help. Pertti it works perfect.

 

Regards Nico