×
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

Add a menu in SW

Add a menu in SW

Add a menu in SW

(OP)
Is there any programming example of adding a menu to solidworks menubar to run an application

RE: Add a menu in SW

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 <http://www.bitwright.com>.

If you are interested in creating your own addins, there is a tutorial at <http://www.esoxrepublic.com/devtools>.  To create an addin, you need a full version of VB or C++.

"Customer satisfaction, while theoretically possible, is neither guaranteed nor statistically likely.--E.L. Kersten
http://www.EsoxRepublic.com

RE: Add a menu in SW

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

RE: Add a menu in SW

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

RE: Add a menu in SW

(OP)
How can we capture the click event of a menu item which we have added in Solidworks.

RE: Add a menu in SW

What language are you programming in?

RE: Add a menu in SW

(OP)
I am using Visual Basic

RE: Add a menu in SW

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 <http://www.esoxrepublic.com/devtools>.

"Customer satisfaction, while theoretically possible, is neither guaranteed nor statistically likely.--E.L. Kersten
http://www.EsoxRepublic.com

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