0 Replies Latest reply on Aug 25, 2015 11:59 AM by William Connor

    DraftSight macro not executing

    William Connor

      Hello,

      I am having trouble with a macro I recorded in DraftSight, I am using Visual Studio Professional 2015 and the macro is

      written in VB. When I run the code it will open the correct drawing in DraftSight. The next step is opening up the Layer Manager

      and "turn on" a single layer, but this code never executes and the program still exits with code 0. Any advice?

      *I have attached a few images of the code (See Below)*

      - I have also tried running it in Visual Studio 2008 and still having the same issue.

       

      Thank you!

       

      snippet1.PNG

      Snippet2.PNG

      snippet3.PNG