cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
2024 Technology Preview Program

2024 Technology Preview Program:
Master powerful new features and shape the latest BIM-enabled innovations

GDL
About building parametric objects with GDL.
SOLVED!

GDL UI possibility's

Domagoj Lukinic
Booster

Hi all,

Is it possible to make a UI script that look something like this:

DomagojLukinic_0-1703081932339.png

generally speaking all the options are are dropdown list, and icons... but biggest question for me actually is can I make these two selectable buttons (1,2). they represent position,after the selected position you choose do you want: socket, switch, ect. maybe through booleans?   

 

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

Here is something similar You are going for I did: https://www.kontakt-simon.com.pl/assets/res/doc/3742/6602ac1dda201-KontaktSimon%2020240224.zip

there is library of electrical equipment by Simon, for now only in Polish.

View solution in original post

4 REPLIES 4
LChen
Graphisoft
Graphisoft

Hi,

I think it's possible to make a UI you want.
You can prepare an integer parameter value and place two buttons to allow user to choose 1 or 2.
Then checking the value to know the position, and get which socket, switch type is selected.

 

HTH.

The biggest challenge would be the size of the UI... from 24 488x286px or something similar(bigger in width than before), so it might be somewhat unreadable if a lot in there. You cannot use pictures overlaying each other btw.

You can make the UI bigger but it will be cropped in the standard sizing of the dialog.

The bulletpoints You will do with: UI_RADIOBUTTON,(the left), the right I would do with UI_PICT_RADIOBUTTON with texts by UI_INFIELD. the framing can be done by UI_SEPARATOR or UI_GROPUPBOX (without texts)

Solution

Here is something similar You are going for I did: https://www.kontakt-simon.com.pl/assets/res/doc/3742/6602ac1dda201-KontaktSimon%2020240224.zip

there is library of electrical equipment by Simon, for now only in Polish.

Great! Thank you so much this as a reference helps me a lot!