
Line will be created in DraftSight from this recorded Macro.

After adding Reference as above Start DraftSight and open a document.Start using Draftsight in 10 simple steps 1. Without further delay, let’s dive into it. Now add a reference to the DraftSight type library, Go to Tools Menu > Click on ‘References ‘ Browse dsautomation.dll file from Install dir “C:\Program Files\Dassault Systemes\DraftSight\bin” \ dsAutomation.dll. Draftsight is a free, simple CAD program that loads fast compared to other CAD software like AutoCAD making it one of the nicest alternative I do recommend for beginners.A new Module is added under ‘Modules’ on left corner project, double click on it to see our recorded macro !.


Open any Software which consist of VBA Macro embedded such as Word, Excel. If you already have recorded VBA Macro in DraftSight then use that file here. If you don’t know how to record new Macro then check Macro Toolbar in DraftSight tutorial & record new VBA Macro for this tutorial.
