Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Add a menu in SW 1

Status
Not open for further replies.

waqahmad

Mechanical
May 28, 2002
19
0
0
PK
Is there any programming example of adding a menu to solidworks menubar to run an application
 
Replies continue below

Recommended for you

Menus and toolbars can only be done via fully compliled addins.

There are addins (like SBaugh's) that that add menu picks that can add menu picks that point to macros or .exes. There is also one at <
If you are interested in creating your own addins, there is a tutorial at < To create an addin, you need a full version of VB or C++.

[bat]"Customer satisfaction, while theoretically possible, is neither guaranteed nor statistically likely.[bat]--E.L. Kersten
 
We require source code to add menus to solidworks. This menu should run an application.
If this requires to develop an addin then how this addin can be created by using VB.
 
How can we *.def file to add menus in solid works.
scripting.filesystemobject is not found in solidworks API Library, How can we get it.
 
To use the scripting.filesystemobject object, you need to add a reference to the Microsoft Scripting Runtime library. If you are using a full version of VB, this is found under a very long list under the VB menus "Project --> References". This is also where you add references to the SW type library and the SWpublished library needed for addin functionality (i.e. menus).

More information is available at <
[bat]"Customer satisfaction, while theoretically possible, is neither guaranteed nor statistically likely.[bat]--E.L. Kersten
 
Status
Not open for further replies.
Back
Top