Rob
Forum Moderator

I'm not sure there's an option for the gradients in the Expression system. It's rapidly evolving feature so that may change with 2024Rx, otherwise the gradients are available for UDM as UDF macros.