api smart dimension help

hey my name is ezzelden i am beginner  in macro and i want ask   when macro record i use smart dimension   when macro work make me enter the value again   how i can make it automatic  dependon last input  or by form  

SolidworksApi macros