Parameter names in UI_OUTFIELD
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-11-16 02:51 AM
‎2015-11-16
02:51 AM
E.g. say I have a parameter 'p_something' with the name / description "Something"
Now when I use the UI_OUTFIELD command, I need to type 'UI_OUTFIELD "Something", x, y,...'
Can I do something like 'UI_OUTFIELD' NAME(p_something), x, y,...' ?
Cheers
Bruce Walker
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-11-16 03:00 AM
‎2015-11-16
03:00 AM
Sure just use ...
Barry.
UI_OUTFIELD p_somethingThis will give you the current value of that parameter but as fixed outfield text.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-11-16 03:38 AM
‎2015-11-16
03:38 AM
Thanks Barry.
I had already figured this one out - but that's not what I'm after. I'm after the "Name" part of the parameter, not the Value.
E.g. if the parameter was 'A', I would want to display "Dimension 1"
I had already figured this one out - but that's not what I'm after. I'm after the "Name" part of the parameter, not the Value.
E.g. if the parameter was 'A', I would want to display "Dimension 1"
Bruce Walker
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-11-16 06:05 AM
‎2015-11-16
06:05 AM
No, you can not. Possible additional text for the parameter type Boolean. Eg. So.
UI_INFIELD {3} ALL_txt, 10, 10, 100, 14, 7, "", 2, 1, !!! or type 5 0, 0, 0, 0, 1, "Text_1" 0, 2, "Text_2" 1Or it is necessary to use arrays of values for the text part.
DIM stTEXTP []! Different text depending on the parameter Progr IF Progr = "ArchiCAD" THEN stTEXTP [1]= "Text_1" ELSE stTEXTP [1]= "Text_2" ENDIF UI_OUTFIELD stTEXTP [1], 10, 30, 111, 14All the same you need to copy (Ctrl + C) the text part of parameter.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2015-11-16 06:32 AM
‎2015-11-16
06:32 AM
Yeah, I thought so. Thanks all the same.
Bruce Walker
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb
Barking Dog BIM YouTube
Mindmeister Mindmap
-- since v8.1 --
AC27 5060 INT Full | Windows 11 64 Pro | 12th Gen Intel i7-12700H 2.30 GHz | 64 Gb RAM | NVIDIA GeForce RTX 3060 32 Gb