Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Making a User interface Pictorial Value List

Anonymous
Not applicable
see files attached:
I wanted to add a pictorial value list into my GDL object. I took images of the parts from a catolgue, laid them out and saved them as a jpeg and also as a tif file. I set up the interface as shown in script and tried it using both the jpeg and tif file but can't get it to display the images of the parts, even though they are related to the parameters in the script and will change when selected.
Any ideas why?

USI script problem.JPG
2 REPLIES 2
Anonymous
Not applicable
File 2
Jochen Suehlo
Moderator
For me there are no problems:

!UI_SCRIPT
UI_DIALOG "Railtop Selection"

UI_PAGE 1
UI_STYLE 2,1
UI_GROUPBOX 'Rail Top Types', 10,10,370,255
UI_STYLE 2,4

UI_INFIELD "railtype" ,40,40,300,210,
1, "screen_selection_263.jpg", 6,2,
93,102,80,80,
1,"1",
2,"2",
3,"3",
4,"4",
5,"5",
6,"6"

!PARAMETER-Script
VALUES "railtype" "1","2","3","4","5,","6"
For simplification I used the string numbers instead of words, but that makes no difference, works fine.
Do not forget: Image must be in loaded library.
talki.jpg
Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de