Can the mecanim animators Controller var be set in code?

I have not see any way to set the animators animation controller (Controller var) in code anywhere, but wanted to ask if anyone had found a way to do so just to be sure.

A project I am working on would really benefit from the ability to do so but so far it looks like this is not possible.

Just looking for confirmation one way or the other.


Never test it but this could be what you want.