Can you get pregnant if you're petite?

Hi, I'm pretty petite and my OB told me to gain some weight cause it might help with me conceiving. (Been trying for a year) Anyone have been told the same thing? I'm 100lbs for reference.