set_property direct_reset yes [get_nets -of [get_ports rst3]]
Note:
For XDC usage, this attribute only works on type net, so you need to use the
get_nets
command for the object.