The Global Archicad Community

Stay informed. Get help. Share your knowledge.

Topics specific to the scripting and development of Library Parts and Libraries using Param-O or the Geometric Description Language – GDL. (Example: How do you use “REQUEST” GDL commands?)

Moderators: ejrolon, Barry Kelly, Karl Ottenstein, LaszloNagy, Gordana Radonic, nbalogh, gkmethy, mnguyen, rmasaki, Akos Somorjai, Peter Baksa, Csilla Mai

#327937
Hi there everyone,

I would like to know it was possible to define an inline Pen with out selecting the pen's number from the Pen set.

ie: If the inline Pen definition could be defined by RGB values ....
#330627
It is not possible to define the pen's color or line weight (or description).
The pen indices are fixed 1-255 and -1 and 0 for fills. These are always defined and others can't be added.

MATERIALs can be defined with a custom color, but there is a limited number of different materials that can be defined (you might create a few thousand, but don't think about pixelizing a photo with materials). These surface colors won't be PROJECT2-d to 2D with the defined exact color, the surfaces' tilt relative to the sun's position will add a self-shadow effect.
#330639
Peter Baksa wrote: Wed Jul 28, 2021 4:38 pm These surface colors won't be PROJECT2-d to 2D with the defined exact color, the surfaces' tilt relative to the sun's position will add a self-shadow effect.
Except that you can create a constant material with type = 7.
;)