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