SOLVED!
Show Values{2} text options in GUI

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2019-01-31 03:38 PM
‎2019-01-31
03:38 PM
Is there a way to show the text values of Values{2} in the GUI instead of there numerical values ?
Thank you in advance
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Solved! Go to Solution.
1 ACCEPTED SOLUTION
Accepted Solutions
Solution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2019-02-01 03:41 AM
‎2019-02-01
03:41 AM
I'm thinking of "ui_custom_popup_infield". It can show different contents in UI, one for pop-up and another in the field. But the parameter should be string (not integer) and it cannot have value list (values{2}).
https://gdl.graphisoft.com/tips-and-tricks/new-custom-popup-infield
Archicad 26, Windows 10, Corei7 3.4 GHz, 16 GB Ram.
https://www.indigofigs.com
https://www.facebook.com/indigofigs
https://www.indigofigs.com
https://www.facebook.com/indigofigs
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2019-01-31 04:02 PM
‎2019-01-31
04:02 PM
Not sure if this is what you're looking for ;
! Parameter Script
! Parameter Script
values{2} "option1" 1, "Option_txt1", 2, "Option_txt2", 3, "Option_txt3"! 2D Script
text2 0, 0, PARVALUE_DESCRIPTION("option1")HTH.
Archicad 26, Windows 10, Corei7 3.4 GHz, 16 GB Ram.
https://www.indigofigs.com
https://www.facebook.com/indigofigs
https://www.indigofigs.com
https://www.facebook.com/indigofigs

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2019-01-31 04:42 PM
‎2019-01-31
04:42 PM
No, not this.
When you use ui_infield for a parameter that have it's values defined by values{2}, the fields will only show it's integer numeric values. while the pop-up will show it's text values.
I think someone here said the way to achieve this, but can't find the thread
When you use ui_infield for a parameter that have it's values defined by values{2}, the fields will only show it's integer numeric values. while the pop-up will show it's text values.
I think someone here said the way to achieve this, but can't find the thread
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Solution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2019-02-01 03:41 AM
‎2019-02-01
03:41 AM
I'm thinking of "ui_custom_popup_infield". It can show different contents in UI, one for pop-up and another in the field. But the parameter should be string (not integer) and it cannot have value list (values{2}).
https://gdl.graphisoft.com/tips-and-tricks/new-custom-popup-infield
Archicad 26, Windows 10, Corei7 3.4 GHz, 16 GB Ram.
https://www.indigofigs.com
https://www.facebook.com/indigofigs
https://www.indigofigs.com
https://www.facebook.com/indigofigs