Wishes forum
Showing results for 
Search instead for 
Did you mean: 

GDL: Pen Array modification so that it can accept a pen of -1

Nader Belal
Hi there,

As of the moment I´m writing this post, using ArchiCAD 22, I have found out that PEN Array Parameter is incapable of selecting the "-1" pen, on the contrary to PEN parameter that.

Therefore, I would like that the developers would make Pen Array Parameter capable of selecting the value of "-1", as with Pen Parameter.
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Laszlo Nagy
Community Admin
Community Admin
I am not even sure this should be a wish. This sounds more like a bug.
Anyway, I will forward this to Graphisoft and let them figure it out.
Laszlo Nagy, Lead Moderator, Community Admin
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, NVidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC25
Loving Archicad since 1995

Barry Kelly
As mentioned here ... https://archicad-talk.graphisoft.com/viewtopic.php?f=49&t=70370&p=314242#p314271

Pen -1 (& pen 0) are special pens for the background colour of fills.
They can only be used for fills and report an error if selected for any other purpose.
The problem is that any pen parameter in a GDL object will have the option of pen 0 & -1- they just can't be used as it will give an error message.


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

Nader Belal
As mentioned here .... https://archicad-talk.graphisoft.com/viewtopic.php?p=314295#p314295

What if I need these values to be saved in an array ???
I would expect that your answer is "Then use an Integer Array Parameter", but based on the circumstances I have mentioned before, including those users that aren't versatile in GDL scripting, and maintaining library part's scheme & structure with Graphisoft's GDL styling, it breaks the object's programming scheme, luckily it only affected one portion, but if it was something else it would have caused a big mess
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!