License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…
2023-06-15 05:39 PM
Solved! Go to Solution.
2023-06-15 06:06 PM
I use the following routine mostly always:
! MASTER-SCRIPT
DIM _typ_best_text[], _typ_best_pic[], _typ_best_value[]
i = 1
_typ_best_text[i] = "Schnitt 1 b" : _typ_best_pic[i] = "" : _typ_best_value[i] = i : i = i + 1
_typ_best_text[i] = "Schnitt 1 c" : _typ_best_pic[i] = "" : _typ_best_value[i] = i : i = i + 1
_typ_best_text[i] = "Schnitt 2 e" : _typ_best_pic[i] = "" : _typ_best_value[i] = i : i = i + 1
_typ_best_text[i] = "Schnitt 11 f" : _typ_best_pic[i] = "" : _typ_best_value[i] = i : i = i + 1
! ---------------------------------------------------------------------- !
! PARAMETER-SCRIPT
VALUES{2} "int_typ_best", _typ_best_value, _typ_best_text
! INTERFACE-SCRIPT
UI_OUTFIELD "Bestückungstyp", dx, dy + dyO, outL, outH, 1
UI_INFIELD{3} "int_typ_best", dx2, dy, inL, inH,
8, "",
0, 0, 0, 0, 0, 0,
_typ_best_pic, _typ_best_text, _typ_best_value
dy = dy + led
! ......................... !
2023-06-15 06:06 PM
I use the following routine mostly always:
! MASTER-SCRIPT
DIM _typ_best_text[], _typ_best_pic[], _typ_best_value[]
i = 1
_typ_best_text[i] = "Schnitt 1 b" : _typ_best_pic[i] = "" : _typ_best_value[i] = i : i = i + 1
_typ_best_text[i] = "Schnitt 1 c" : _typ_best_pic[i] = "" : _typ_best_value[i] = i : i = i + 1
_typ_best_text[i] = "Schnitt 2 e" : _typ_best_pic[i] = "" : _typ_best_value[i] = i : i = i + 1
_typ_best_text[i] = "Schnitt 11 f" : _typ_best_pic[i] = "" : _typ_best_value[i] = i : i = i + 1
! ---------------------------------------------------------------------- !
! PARAMETER-SCRIPT
VALUES{2} "int_typ_best", _typ_best_value, _typ_best_text
! INTERFACE-SCRIPT
UI_OUTFIELD "Bestückungstyp", dx, dy + dyO, outL, outH, 1
UI_INFIELD{3} "int_typ_best", dx2, dy, inL, inH,
8, "",
0, 0, 0, 0, 0, 0,
_typ_best_pic, _typ_best_text, _typ_best_value
dy = dy + led
! ......................... !
2023-06-16 03:27 AM
Looks like something you would use PUT GET for.
For i = 1 to drawers
PUT i, _stDrawerType[i], value[i]
next i
Do note I have no experience with infield{3} or using the put command with arrays.
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 |
2023-06-16 09:40 AM
perfect, thank you!
This is exactly what I was looking for. It worked like a charm.
2023-06-16 09:55 AM
thank you for your suggestion.
This is a good idea but I could not manage it with infield{3} and the arrays.