Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Create SW Addin using VB

Status
Not open for further replies.

nikhiljoglekar

Mechanical
Apr 8, 2003
17
Hi All
I am trying to embed my application into solidworks. I was unable to find out where should i start and go from there. What kind of VB project should I use, Activex Exe, Activex Dll or something else?
If anybody has done similar work please let me know.
regards
Nikhil
 
Replies continue below

Recommended for you

The VB project needs to reference the library "SolidWorks exposed type libraries for addin use".

SW addins need to be ActiveX dll's if made in VB. They need to have a class module that implements SWPublished.SwAddin and contains the SwAddin::ConnectToSW and SwAddin::DisconnectFromSW functions. When SW loads or unloads an addin, it looks for these functions to tell SW how to set up the addin, what toolbars and menu items to add, and what those toolbars and menu items do.

For VB6, there is a useful VB addin at Also see the examples at solidworks.com



[bat]"Great ideas need landing gear as well as wings."--C. D. Jackson [bat]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor