cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
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 27

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-29NED FULL
Windows 11 Pro for Workstations
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-29NED FULL
Windows 11 Pro for Workstations
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 27

Windows 10
runxel
Hero
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 29 on Mac (Sequoia) | Graphisoft Insider Panelist | Akroter.io – high-end GDL objects | 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»