getsim function

Getter function to get a variable of a simdesign object