CHOP C++ Custom OP: opPath returning garbage/internal strings

Hi
I’m working with the CHOPWithPythonClass C++ example.
I’ve modified the execute method to print myNodeInfo->opPath to the console:

C++void CHOPWithPythonClass::execute(CHOP_Output* output, const OP_Inputs* inputs, void* reserved1)
{
myExecuteCount++;
std::cout << myNodeInfo->opPath << std::endl;
}

The Issue: I’m seeing inconsistent results depending on the state of the project:

  • If i open a scene that already contains an instance of the custom node: The console prints “Opening File”.
  • If i create an instance of the custom node in the scene: Sometimes it prints the correct path, but other times it prints strings like “dialog_norm” or “Copied Values”.

Cheers,
Colas

Hey, which build are you using? We fixed this recently I think

I’m on 2025.32280 on windows.
I will try with the latest build

Yes, this issue was fixed in release 2025.32460.

Varad

Yes it work correctly in 2025.32460 thanks a lot
Colas

1 Like