Can I obtain the brightness of a coordinate point on the picture using the REQUEST command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-09-11
10:06 AM
- last edited on
2024-09-26
01:50 PM
by
Doreena Deng
May I ask how to use REQUEST {2}?
Can I obtain the brightness of a coordinate point on the picture using the REQUEST {2} command?
The brightness or red, green, and blue values of the coordinate points on the picture.
GDL seems to have relatively weak processing power for pictures.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-09-11 10:18 AM
You can request the RGB of a pen or material (surface) as these are a single colour, but not of a picture.
Every pixel of a picture could be a different colour.
Archicad just imports the picture you tell it to, and as far as I know there is no way to interrogate the colour of individual pixels.
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-09-12 02:41 AM
Okay, there's still a little disappointment

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-09-12 02:57 AM
When you say 'Picture' I assume you are meaning an image file (.jpg, .tif, .png, etc).
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-09-12 10:12 AM
I assume this has got to do with using gradients to control dynamic objects?
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-09-15 08:23 AM
You can try to convert the bitmap file to a .txt file that a GDL object can read.
But that means a lot of work.
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-09-15 08:57 AM
...And very non user friendly...
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |