Hi, I'm looking at exporting some attribute data from my geometry objects in a custom format using python.
It would seem using a ROP network Shell node with a Pre-Render Script would be the best bet.
Unfortunately i have no idea how to setup the export.py file to access the hou module or get a the geometries in the scene.
First off, pointing the Pre-Render Script to even an empty *.py file throws an error on the Shell node :
"Error: Python Error: Syntax Error: ('invalid syntax', ('<stdin>', 1, 2, ‘theFilename\n’))
Does that mean the parameter-box is trying to run the script file-path to run as the actual python script? If so, surely that's a bug?
Also, how do i setup the code in the script.py file to access houdini data in the scene? I assume the pre-render script isn't called per object / doesn't know what the current geometry is or anything.
Cheers, H