Kalyan Goparaju
Ansys Employee

Hi, 


UDMI's need to be first initialized before they can be used. Before loading in the UDF and executing it, go to User-Defined->User Defined->Memory and select 1 under Number of user defined memory locations and then load compile and execute the UDF. 


Thanks, 


Kalyan