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!

New Menu 1

Status
Not open for further replies.

Creigbm

Mechanical
Aug 1, 2003
161
Does anyone know how to create a new menu in SolidWorks? I have created about 10 macros and they are getting a little cluttered on my screen. I know this is a probably a bit involved, but it's worth a shot! I tried going through Customize.. but had no such luck. Thanks in advance for any insight.
 
Replies continue below

Recommended for you

I know how to do it. You need to create an add-in DLL. To do this, you need fully compiled VB6 or C++. Check the API help for add-ins. There are examples on the SW site, too.

As far as I can tell, there is no way outside of this to create new menus in SW.

You could, perhaps, persuade someone to write a DLL that just adds the menu, which would allow you to add submenu items using "Tools --> Customize". Check my profile info to contact someone who may be persuaded.

[bat]All this machinery making modern music can still be open-hearted.[bat]
 
I don't suppose I could persuade you to assist me!
 
I am expecting an email from you. Check my profile for email address (to line of the blurb). To access my profile, just click on "TheTick".
 
Just found a way to do this without compiling a DLL addin:

If you decide to do this via macro and not via compiled DLL, check out this thread:
thread559-62849

The first reply shows how macros can be run at SW startup by modifying the shortcut used to start SW. This would almost behave ike an add-in.
 
I have one more question for you. Once I have created a new menu, how to I add my macros to it. I try to go to Tools--->Customize, but it just has the general functions and no place to load custom ones.
 
From the help:
Create a folder named \Macros in your SolidWorks installation directory (in the same folder as SOLIDWORKS.exe). This \Macros folder is where you must keep the all the macros that you access from a key or a menu.

Then Macros should be available under the menu categories.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor