I select the wall and get the top surface of wall element. then i get a point by Surface.PointAtParameter. but i get that points as outside of wall instead of inside of wall.(See image)
Most probably has to do with how your families are built.
Then don’t Translate the points to the Z value. Just place the families like you do now, and then push the Z value into whatever parameter you have to determine the Offset from Level.