Jump to content
Juraj

Digital Asset - default channel expression in Python

Recommended Posts

Hi,
when creating channel defaults inside digital asset I can set it as a value or hscript expression. Is it possible to set it to python expression?
A way would be to create OnCreated script which will assign expression to a channel, or use some hscript for executing python command.

But I am curious if there is another - better way :)

Juraj

Share this post


Link to post
Share on other sites

Hi, thanks, yeah, that could be used in combination with OnCreated script.
At the end I used pythonexprs() hscript expression which was sufficient for my case.

Share this post


Link to post
Share on other sites

there is a Python option for defaults

if you click on tiny calculator icon you can choose among (Literal/Hscript/Python)

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×