def setChildParm(node): node.parm("/pathToNodeInsideOtl/parm").set(value)
I get the following error whenever I try to run the function:
PermissionError: Failed to modify node or parameter because of a permission error. Possible causes include locked assets, takes, product permissions or user specified permissions
That's because the digital asset is locked, so I have to allow the editing of content of the OTL in order to make it work.
But this is not what I want to do.
What's the proper workflow with python to set a parameter of a node inside the digital asset?
Any help very appreciated,
cheers