GDL
About building parametric objects with GDL.

GDL can't read profile list

Mark Chen
Graphisoft
Graphisoft

Hi there,

Please check attachment.

This GDL works in AC26 to pick up a profile in current pln file.

But in AC27 none profile can be read from the file. PROFILETYPES_MASK ni not working

MarkChen_0-1701335846147.png

Regards,

Mark

7 REPLIES 7
Funfun Yan
Booster

Maybe it is a bug.

A bug or a change in the command that I haven't read about yet.

 

I have an object that uses profiles and works fine in 26.

But in 27 the list of profiles is blank (I haven't been using 27 yet so haven't noticed).

 

BarryKelly_0-1701396234900.png

The object still works and the one available (default) profile is fine.

If I use a different profile in 26 and then copy & paste that to 27, it will show only that new profile.

 

And another odd thing is, if I open the script and look at the parameter list in 27, it appears to be working just fine.

 

BarryKelly_1-1701396318855.png

 

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
Peter Baksa
Graphisoft
Graphisoft

Hi,

 

This is a bug, I will report it.

The problem is with the UI. If you add a graphical UI using ui_infield for the profile parameter, it will work.

 

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest

Thanks Peter.

 

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
jp
Contributor

 Man, I can't even work in the Interface script.  The new GDL editor is completely clunky. I can's scroll down with my mouse.  Script takes an eon to load.  Give me the old interface back please!  Line numbers are great, but not if I can't move about the script.  Hopefully just a weird session.  Will reboot and hope this works better.  I have one part that works fine, and another that doesn't.  Neither have an interface script.  Difference is that one is an object, and one is a door.  

Many Thanks, JP

John Peterson, AIA
Dalgliesh Gilpin Paxton Architects
Archicad 7-21 US
PC and iMac
jp
Contributor

Happy to report it was computer issue in regards to editing the script.  It was the first GDL i had accessed in 27 so I was nervous the new interface was clunky.  After restarting everything, all is working smoothly.  Adding a basic UI to see if that fixes the bug..

 

Many Thanks, JP

John Peterson, AIA
Dalgliesh Gilpin Paxton Architects
Archicad 7-21 US
PC and iMac
jp
Contributor

Any progress on this bug?  

Many Thanks, JP

John Peterson, AIA
Dalgliesh Gilpin Paxton Architects
Archicad 7-21 US
PC and iMac

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!