Notifications
Clear all

[Closed] Macrorecorder doen't load texture file

I try to record some steps for a script which I need for some automatation and I create a material. The problem is I can’t get the texture to load. I use Octane Render if that matters.

This is what gets recorded:

sceneMaterials["Wood"].diffuse_input_type = 2
sceneMaterials["Wood"].diffuse_tex = RGB_image ()

I searched in the webz if I can tell the script to use a certain path and texture but o luck. It will always the same texture on the same location.

4 Replies
sceneMaterials["Wood"].diffuse_tex = RGB_image filename:"C:\sometexture.jpg"

You can check for ‘diffuse_tex’ properties like so

show sceneMaterials["Wood"].diffuse_tex

Thanks it worked!
Is there a reference somewhere to look at? I mean a site with all variables i can use.

maxscript reference

If you’re looking for a specific Octane renderer properties or functions you should check out otoy’s forum instead. Mxs reference has no information about any third party software.


showproperties 

can help too