Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.
SOLVED!

Pen is less than 1

JGoode
Expert
Just something I am curious about and isn't that big of a deal but why do pens allow you to set them as transparent or 0 or -1 but then throw up an error saying that the pen is at less than 1?
ArchiCAD 23

Windows 10
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Erwin Edel
Rockstar
Background pens can have this value. That is why you can set it as a parameter.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5

View solution in original post

3 REPLIES 3
Solution
Erwin Edel
Rockstar
Background pens can have this value. That is why you can set it as a parameter.
Erwin Edel, Project Lead, Leloup Architecten
www.leloup.nl

ArchiCAD 9-26NED FULL
Windows 10 Pro
Adobe Design Premium CS5
JGoode
Expert
Erwin wrote:
Background pens can have this value. That is why you can set it as a parameter.
Makes sense! Thanks
ArchiCAD 23

Windows 10
runxel
Legend
That's why you have to make sure that foreground pens can't be set to anything "unhealthy":

! param script
if certain_pen < 1 then
    parameters certain_pen = 1
endif
Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»