SOLVED!
How to defined inline Pen definition using RGB values ?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-06-07
03:26 PM
- last edited on
2021-09-14
09:09 AM
by
Noemi Balogh
2021-06-07
03:26 PM
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 ....
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 ....
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.

Solved! Go to Solution.
Labels:
- Labels:
-
Library (GDL)
1 ACCEPTED SOLUTION
Accepted Solutions
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-07-28 05:38 PM
2021-07-28
05:38 PM
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.
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.
Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest
Software Engineer, Library
Graphisoft SE, Budapest
2 REPLIES 2
Solution

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-07-28 05:38 PM
2021-07-28
05:38 PM
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.
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.
Péter Baksa
Software Engineer, Library
Graphisoft SE, Budapest
Software Engineer, Library
Graphisoft SE, Budapest

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-07-28 10:08 PM
2021-07-28
10:08 PM
Peter wrote:Except that you can create a constant material with type = 7.
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.
;)
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»
POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»