Arnold materials scripting help


I’m trying to create arnold materials in 3dsmax with maxscript, but i cannot find info for that, i only found resources for creating aovs and setting the arnold render settings. Can anyone please give me guidelines or examples or links if it is somewhere documented? Thank you.