```html

One great feature of Rukovoditel is that you can relatively easily generate composite scripts by entering variables and values in tables and then using a custom PHP script to assemble the Ruko data via an API interface with the appropriate GDL script snippets.

With a complete user interface including master script definitions, parameter script, and complete user interface script, you need to put in somewhat more effort than with a VALUES{2} command. The generation takes approximately 15 - 20 minutes and the following steps are required:

  • All parameters of an object that should appear in the UI are marked in the GDL object itself in the parameter list with "b", i.e., "bold". In theory, it would also be possible to use only the parameters that do not have an "X" for "invisible".
  • Create sections in the parameter list with the parameters and define the parameter order as it should appear in the user interface.
  • Mark parameter sections at the end with a number sequence for the UI page, e.g., "_specialtable_02"; all parameters in this section would end up on UI page 2.
  • Create an integer parameter named "gs_ui_current_page" and "hide" it.
  • In Rukovoditel, create a new project and add a new project
  • In Rukovoditel, create the names of the UI pages
  • In Sublime Text via GDLnucleus, decompose the GDL object into its script components
  • In Sublime Text, run the BUILD system "Parameter-CSV-Ruko". It outputs a parameter list specially formatted for Rukovoditel in CSV format with the .xls extension (so it can be edited in Excel and read into Ruko)
  • Optionally, you can now set a high infield height for selected parameters in Excel (for attribute parameters this is already automated). You can also specify whether 1 parameter should be displayed in 1 column or together with another parameter in 2 columns. Save after making changes.
  • Import the CSV file just saved into Ruko into the previously created object and link the fields of the import file with the fields of the Ruko table.
  • Now click the link to create the user interface: a web page opens with the complete GDL source code as linked below under "Attachments".
  • Copy the source text on the web page and insert it into the GDL object in ArchiCAD or Sublime Text into the 3 scripts.
  • If necessary, a few small manual changes may still be required in the script if the outfield texts are too long or something at the bottom doesn't quite fit on the page.

I'm happy to link to a short demo film upon request.


External Links

Example of a UI script output

```