missing last pens on the array parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-11-22 12:56 PM - last edited on ‎2024-11-22 01:58 PM by Barry Kelly
I wanted to simplify the handy object and use an array of pens instead of separate pen parameters. Unfortunately, such an array allows you to manually enter a pen 0, but does not accept a pen -1.
 
😕😕😕
AC 7 - 27 (28), Twinmotion | Windows 10 Pro for Workstations
Dell 7740 Xeon | 64GB | RTX 3000 6GB + LG 2560x1080
- Labels:
-
Possible Bug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-11-24 06:18 PM
I guess this is a limitation of GDL. When the Pen parameter is a single parameter, the 0 and -1 values are available, but when you make it an Array Parameter, they are no longer available. I guess there must be some technical reason behind this. I wonder if @Peter Baksa can shed some light on this for us.
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-11-26 07:12 PM
Funnily enough you can use "values "pen2x2" range[-1,255]" to make -1 and 0 available – but they will be at the beginning of the list! (so the whole pens are shuffled.... not a good workaround imho).
Other workaround is to program a GUI. With ui_infield{3} it works fine (-1 and 0 are available).
I'd say it is a bug that should get fixed.
POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2024-11-26 09:02 PM - edited ‎2024-11-26 09:03 PM
I came across this "bug" because I simply didn't want to do GUI;
I think GS will fix it someday, after all it's just an INTEGER
AC 7 - 27 (28), Twinmotion | Windows 10 Pro for Workstations
Dell 7740 Xeon | 64GB | RTX 3000 6GB + LG 2560x1080