You can check the GDL Reference Guide PDF for the command DEFINE MATERIAL.
It has many parameters but many of them correspond to the settings and sliders in the Materials Dialog so you can get an idea of what each is controlling.
There are also examples there.
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-Ac27