Custom property access in runScript within Expressions


I have written a few custom scripts for use in expression bindings on custom properties. I am wondering how, if possible, to access other custom properties within the runScript code. For example:


The scripts will work with a dumb text input but not with a reference to a property. Is there a correct way to reference properties?

Thank you!

The property must have a string value or be converted to a string. You can do it like this:

runScript("project.pymodule.customfunction('"+{Root}+"')") Best,