Vraybitmap Maxscript (load bitmaps

Hi all,

Am rusty with my scripting and a beginner. How do I load a bitmap via Maxscript for the VrayBitmap map.

I am trying via the code below but it does not seem to work,

SkinMap = VRayBitmap filename:“d:\Std_Skin_Head_diffuse.png”

What am I missing?

Thank you

It’s called “hdrimapname” not “filename”.
You can try
show (vraybitmap())
to get all the relevant properties.