1 Reply Latest reply on Jun 30, 2014 3:54 AM by Simon Turner

    A question about run macro by add-in

    Jingwei Wang

      Hello,everybody,

      I have a small task about solidworks add-in. The task is, at first create a solidworks add-in by vb.net using template, and then create an userform with a button, when you klick this button,a solidworks part will be opened. But the key thing is the userform should come out after you  click the menu "create cube ". So you have to modify the function of  sub cube().

      This problem nearly killed me, so I need your help, if  somebody can send me the code by email, it will be very nice. My email address is wangjingwei1991@gmail.com.

      Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!