string $newMaterial = `mrCreateCustom...`;
string $newMaterial = `createAndAssignShader...`;
but neither of them seem to return the shader or the shading group. they do a bunch of stuff after creating the shader, which does return info, but i'm not sure how to capture it in a variable.
any help is great.