×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to Create SW Addin using VB

How to Create SW Addin using VB

How to Create SW Addin using VB

(OP)
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

RE: How to Create SW Addin using VB

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 http://www.bitwright.com  Also see the examples at solidworks.com

"Great ideas need landing gear as well as wings."--C. D. Jackson

RE: How to Create SW Addin using VB

(OP)
thanks TheTick
I'll check out these links.
thanks
nikhil

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources