SW Addins written in VB?
SW Addins written in VB?
(OP)
I am in the process of writing a SW macro. I would like to turn it into an Addin for use in my workplace. Is it possible to write an Addin with VB?
The reason I ask is that there seems to be contradictory information. The SW API help says SW does not support VB COM .dll's. Yet, on the SW website there are examples for implementing VB based Addins.
The reason I ask is that there seems to be contradictory information. The SW API help says SW does not support VB COM .dll's. Yet, on the SW website there are examples for implementing VB based Addins.
Someday, someone may kill you with your own gun, but they should have to beat you to death with it because it is empty.






RE: SW Addins written in VB?
yes, you can write Add-Ins with VB; AFAIK beginning with SolidWorks 2001Plus. To have a brief start go to http://www.solidworks.com/api/index.cfm?template=Downloads and look for "Visual Basic COM DLL addin project with menu items + toolbars". Another useful resource is the free SWAddIn Template from http://www.bitwright.com/
HTH,
Stefan
--
unofficial german SolidWorks helppage
http://solidworks.cad.de
Shareware, freeware, tools and macros
http://swtools.cad.de
RE: SW Addins written in VB?
As soon as you complied your program for the first time in VB, go to "Project", "Properties" (last menu) select "Component" and check "Project Compatibility". If you do not do this, every time you compile your project a new add-in will appear in your Solidworks add-in menu. By the time you are done, you will have dozens of add-ins by the same name in your add-in menu.
Good luck
When all else fails read the manual.
jevakil@mapdi.com
RE: SW Addins written in VB?