…the benefits of using the (default) Evaluate In Process are: - faster because PDG doesn't need to start separate sessions - uses same Python environment as your Houdini session rather than a vanilla Python session
I'm using In Process whenever I can.. Just can't imagine the __PDG_DIR__ isn't available in an easy way.
I must say it takes quite some time to get grip on the different modes PDG can run in. For instance this Python Script Top can run in Dynamic or Static and can run out-of-process and in-process. Each with their different syntax when it comes to attributes, inputs, results and variables.