Render Stats Report

   1002   3   0
User Avatar
Member
65 posts
Joined: Feb. 2016
Offline
I'm trying to generate a render stats xml following the docs (https://www.sidefx.com/docs/houdini/ref/utils/renderstatsreport.html). However, when I try and use the renderstatsreport utility from the Windows>Shell, I get the following error:

'C:/PROGRA~1/Side' is not recognized as an internal or external command,
operable program or batch file.

I checked the File Explorer and I can see the utility here: C:\Program Files\Side Effects Software\Houdini 20.5.410\bin\renderstatsreport.bat

What am I doing wrong?

OS: Windows 10
User Avatar
Member
276 posts
Joined: Jan. 2015
Offline
Something like this should work.

"C:/Program Files/Side Effects Software/Houdini 20.5.445/bin/renderstatsoverlay.bat" --color-space "your color space of choice" "path/to/exr" "path/to/jpeg" --overlay --template "path/to/template"

Your issue is probably the space between Program Files. Need to use " at the start and the end of the path when a space exist.
Edited by Heileif - March 31, 2025 20:41:34
User Avatar
Member
65 posts
Joined: Feb. 2016
Offline
It doesn't seem to recognize the renderstatsreport or overlay as commands. When I test something like hoiiotool or iconvert, it works fine.

Attachments:
renderstatsoverlay.jpg (64.9 KB)

User Avatar
Staff
46 posts
Joined: March 2022
Online
It looks like you haven't started the command prompt with the Houdini environment. You can do so using the Launcher by clicking the little down arrow next to the Launch button and choosing "Command Line Tools," or you can run hcmd.exe from that bin folder directly, which will do the same thing.

Once the command prompt appears, you can test for the environment by running the command echo %HFS%

That will display the HFS environment variable, which should be the simplified Windows path to your Houdini program folder (something like C:/PROGRA~1/SIDEEF~1/HOUDIN~1.550).

With the environment set up correctly, you won't need to enter the entire path to the utilities. The bin folder will be on the system path, so it's easiest to browse to the location of the image you want to extract stats from and run the command from there.

edit: Or, I suppose you could just look at the first few lines of the command prompt and see that it's been configured:
Edited by BryanRay - Dec. 3, 2025 16:13:10

Attachments:
hcmd.exe.jpg (85.6 KB)

  • Quick Links