Assing unique materials to different obejcts

I am struggling to apply unique materials to different objects in grasshopper and pass them to “create”.
What is the recommended workflow to programmatically add custom materials to the “omniverseMDLtable.csv” file?