Using VB6.0 and AutoCAD VBA combined programing,a convienent and accu- rate viedo software by parametric drafting is designed for automatic layout for irregular members of tubing.Taking good advantage of accuracy of calculation by VB6.0 and automa- tization of drafting by Autocad VBA,it realize that when user input basic parameter of members of tubing,its layout drawing can come out rapidly.