UI_INFIELD Problems
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-02-08
12:14 PM
- last edited on
2023-05-24
12:08 PM
by
Rubia Torres
2006-02-08
12:14 PM
UI_DIALOG "Fire Exit Signs",444,266I'm getting an error at line 5 (the bold one) that there are missing parameters. But there shouldn't be. The parameter name is exactly the same as in the Parameters window, 2D script and parameters script, where it works. What's even more confusing is I've basically just copied this script from another one I did earlier, which works?
UI_PAGE 1
UI_INFIELD "sign_ty" !parameter name
0,0 !x,y position
419,250 !width, height
1 !versionFlag
fire_exits.tif !pictName
9 !nrImages
3 !nrRows
140, 90 !cellX, cellY
133, 83 !imageX, imageY
1,`North`,
2,`South`,
3,`East`,
4,`West`,
5,`North West`,
6,`South West`,
7,`North East`,
8,`South East`,
9,'No Arrow'
I'm sure I'm missing something very basic...
3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-02-08 02:15 PM
2006-02-08
02:15 PM
What happens if you remove all those comments from the command? I wonder if they are the source of the problem.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-02-08 02:42 PM
2006-02-08
02:42 PM
You may insert comments in multi-line commands, but you have to keep the syntax:
UI_INFIELD "sign_ty", !parameter name 0,0, !x,y position 419,250, !width, height 1, !versionFlag "fire_exits.tif", !pictName 9, !nrImages 3, !nrRows 140, 90, !cellX, cellY 133, 83, !imageX, imageY 1,`North`, 2,`South`, 3,`East`, 4,`West`, 5,`North West`, 6,`South West`, 7,`North East`, 8,`South East`, 9,'No Arrow'This should work.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-02-08 03:15 PM
2006-02-08
03:15 PM
Excellent - it works now. Thanks!