VBA runs inside AutoCAD; when the AutoCAD drawing editor is active, there is always a current drawing. The current drawing (or document) is defined as an object with the name ThisDrawing in the VBA ...