Camera variable in file path is not working

Hi, camera variable in file path is not working. The image is saved without camera name. Can you please check? Thanks

V-Ray for Houdini number:23914 hash:a62975a from 13 Apr 2022 19:15
V-Ray Core 5.20.20 [18a43118] from 12 Apr 2022

Works fine for me…


What if you middle click on “File Path” - will it be expanded correctly?

Middle click return this
“P:/Project/1233/HOU/render//obj/C002-01_TOP-01.exr”
which seems strange with the double"//"?

> which seems strange with the double"//"?

Why so? Camera path starts with “/” and you have one “/” in “render/”.

And what path do you have in the exported vrscene?
In my case I see


img_file=interpolate(
    (1, "cam1.exr")
);
img_dir=interpolate(
    (1, "c:/scenes/houdini/features/render_channels/render/obj/")
);

which is correct.

Correct.
Actually the correct syntax I was looking for is `opname(chs(“render_camera”))`
Thx