BIM Coordinator Program (INT) April 22, 2024

Find the next step in your career as a Graphisoft Certified BIM Coordinator!

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

ui_infield method 7, sample ?

Anonymous
Not applicable
I'm trying to use this method, but I do not find any sample of how to use it. I've successfully used method 1 after finding a sample.
But I'm obviously not very good at guessing, so I didn't have any success in trying to use it with method 7.
Can someone help me, please?
2 REPLIES 2
Anonymous
Not applicable
I studied another sample, and suddenly I understood I would obtain what I wanted using an ordinary ui_infield.
But if someone has a sample of method 7, I would appreciate it, still.
ztaskai
Graphisoft Alumni
Graphisoft Alumni
Hi,

There are numerous examples to be found in the standard ArchiCAD Library. All checkboxes in which the text is clickable are scripted this way.

This example comes from the object 'Material Legend':
ui_infield{3} "name_tab", xStart, yStart+hRow, x1-xStart-2, 15,
        7, "", 2, 1, 0, 0, 0, 0,
        1, `Show Schedule Name`, 0,
        2, `Show Schedule Name`, 1
There are two thing to note here: (1) use the {3} version of the commad; (2) use it for a Boolean parameter or for one that has two fix values defined.

HTH,
Zsolt Táskai
ArchiCAD Development - GDL Team
AC13, AC14 and upwards...
Learn and get certified!