Before you take pains to write code to solve the issue, or spend money to hire someone to do it, you may want to ask the one who create this drawing: is AutoCAD used correctly to generate the drawing? If the drawing is generated correctly, it is likely you do not need write any code to to batch plotting, for example, each frame could be on its own layout, and "Publish" command could be used to plot selected layout or all layout at one shot. writing code against badly created drawing is the last thing you want to do.