mihalj
Mechanical
- Apr 15, 2009
- 40
Hi,
did anyone succeeded attaching macro created with Visual Basic net to design binder and run it from equation? If it was done can you please share what was exactly line added inside equation line (I am guessing it should be line added inside global variable)?
I tried something with macro name and added after class name as well as sub name (in my case it was "Var1"=1::swApp.RunAttachedMacro "name.vbproj", "SolidWorksMacro", "main()").
As a matter of fact whenever I put this line inside equations, I do not get error, and after I close equation and open it again, equation is gone (it was not saved).
Thanks in advance for help.
did anyone succeeded attaching macro created with Visual Basic net to design binder and run it from equation? If it was done can you please share what was exactly line added inside equation line (I am guessing it should be line added inside global variable)?
I tried something with macro name and added after class name as well as sub name (in my case it was "Var1"=1::swApp.RunAttachedMacro "name.vbproj", "SolidWorksMacro", "main()").
As a matter of fact whenever I put this line inside equations, I do not get error, and after I close equation and open it again, equation is gone (it was not saved).
Thanks in advance for help.