Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-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
Joined
May 28, 2002
Messages
19
Location
PK
Is there any programming example of adding a menu to solidworks menubar to run an application
 
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.
 
How can we capture the click event of a menu item which we have added in Solidworks.
 
What language are you programming in?
 
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.

Part and Inventory Search

Sponsor

Back
Top