including preset transfer function configuration in a Python Trace


I’m using PV 5.12 on a workstation and am using a preset transfer function to set up my visualization. I save this in a Python trace but when I use the generated script on another machine it doesn’t have the information for my requested transfer function. Is there a way to have this included in my generated Python trace script?


Try tracing the Transform filter?

I created a custom transfer function for my volume viz. What I ended up doing was exporting the custom transfer function, copying it to the HPC machine, then added the custom transfer function with:

ImportPresets(filename=<path>, location=16)