To get true center of object, or in my case walls, this is what you do. Draw a wall, set its heights (bot z, top z).
Use Get3DCntr(h,px,py,zvalue);, Use WallHeight(h,startHt,endHt);or Hheight()or Get3DInfo(). Use z value(center)from Get3DCntr - wall height/2 from WallHeight() or others mentioned. That will give you bottom z. Now that you have bottom z of wall, take wall height/2 + bottom z/2 = true center.
rl