I think that the idea is not that "it is alright to ask about ur height but impolite about weight"
The idea is that if a person (especially a woman) is too short or tall or large, asking about her qualities that (s)he thinks to be imperfect is really impolite.
But if her height or weight is perfect - asking such questions are often like complimenting.