How to set volume rendering preset using Python

A post was split to a new topic: Adjust volume rendering transfer function in Python