How to get DZMaterials in script to automatically change opacity?
I'm trying to write a script that will automatically make the red DAZ Skeleton helper materials invisible during a render and then visible again after the render.
How do I do this? I'm unable to get the DZMaterials because the static DzMaterial.getMaterial() function does not appear to exist?
TypeError: Result of expression 'DzMaterial.getNumMaterials' [undefined] is not a function
TypeError: Result of expression 'DzMaterial.getMaterial' [undefined] is not a function
How should this be done?