# Assign UDT Parameters Using Expression

**URL:** <https://forum.inductiveautomation.com/t/assign-udt-parameters-using-expression/58960>\
**Category:** Ignition\
**Created:** [April 27, 2022, 10:53pm UTC](https://forum.inductiveautomation.com/t/assign-udt-parameters-using-expression/58960 "2022-04-27T22:53:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_Shivne](https://avatars.discourse-cdn.com/v4/letter/a/a8b319/32.png) [@Aaron\_Shivne](https://forum.inductiveautomation.com/u/Aaron_Shivne)\
**Post date:** [April 27, 2022, 10:53pm UTC](https://forum.inductiveautomation.com/t/assign-udt-parameters-using-expression/58960/1 "2022-04-27T22:53:33Z")

</div>

Is there a way to use an expression to assign a UDT parameter.

This would be very helpful for combining UDTs and using the parameters of one to assign to the nested UDT.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [April 28, 2022, 5:37am UTC](https://forum.inductiveautomation.com/t/assign-udt-parameters-using-expression/58960/2 "2022-04-28T05:37:50Z")

</div>

You can set default values for your UDT parameters that use references to your parent UDT’s parameters, e.g.

Parent UDT params:

- param1
- param2

Child UDT params:

- param1: {param1} ← this will use the value of the parent `param1`
- param2: {param2} ← this will use the value of the parent `param2`
