rl Posted September 8, 2002 Share Posted September 8, 2002 Get3DCntr takes top height-bottom height and uses the result as center. False. Ex: Draw a wall with 16' top z, 4' bottom z, returns 12' as center. 10' should be center. 10'+6'=16', 10'-6'=4'. Is there a work around? Much to my dismay WallHeight returns top of wall at top left and top right corners. How do you obtain the bottom z of a wall in VS without resorting to object info and manually entering the info? Help! rl Quote Link to comment
rl Posted September 11, 2002 Author Share Posted September 11, 2002 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 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.