8 Replies Latest reply on Jun 2, 2015 1:55 PM by William Connor

    Integrating DraftSight and Visual Studio

    William Connor

      Hello all,

       

      I'm currently trying to use macro recording in DraftSight to "turn off and on" layers inside of DraftSight.

      I am using Visual Basic inside of Visual Studio Professional 2013 for these macros.

      However, I am having trouble "connecting/integrating" the two programs.

      Is there something that needs to be done inside of DraftSight? Or a segment of code needed inside VS to call the macro to run inside DraftSight?

      - Any help would be appreciated

       

      Here are my two Visual Studio files: Macro.vb and Module1.vb (Both shown below).

      macro.PNG module1.PNG

       

      - Thank you in advance!