How to automate the Wood Bifold Door Drawing in AutoCAD?

Wood Bifold Door

This is a free AutoCAD application. The number of panels could be more or less than 4 panels, the door components are adjustable. The application adds tags and tables to all the doors in your drawing and generates their Bill of Quantities.