It’s that moment you’ve been waiting for. That moment where your coworker pick his keyboard up, drops it, picks it up again and lifts it over his head. You would like to tell him about a couple SolidWorks Macros that would help him out, buuuuuuuut you’re being entertained and office rage is content YouTube is just hollering for.
On the less antagonizing side, there’s you showing your office buddy how to avoid fits of unnecessary rage by offering two shiny macros for the low price of “sit down and shut up for a few minutes while I show you this friend.”
He smiles. One less lo-fi video of your crazy friend on the web.
The missing keyboard shortcuts
SolidWorks comes with the ability to assign almost every command to a keyboard shortcut. However, there’s no keyboard shortcuts for Mates. Here’s two macros for the most common mates and how to reduce the amount of that annoying mouse button clickin’ to speed up your assembly construction.
Coincident Mate – Download Coincident Macro
This SolidWorks macro runs the recorded process of adding a Coincident mate between two planar selections. To use it, select two faces and run the Macro. If the selections are compatible, you’ll have a Coincident Mate without having to go through the Mate Properties dialogue.
Concentric Mate – Download Concentric Macro
This SolidWorks macro runs the recorded process of adding a Concentric mate between two cylindrical selections. To use it, select two faces and run the Macro. If the selections are compatible, you’ll have a Concentric Mate without having to go through the Mate Properties dialogue.
Save these macros to the location you store your macros. I recommend having a directory on your network so everyone is able to access them. I actually set the path for Macros up in Tools, Options, File Locations so its the same for each install of SolidWorks.
How to Assign Hotkeys to Macros
This will make mating things up even faster. I assign the Coincident Mate to ‘G‘ and the Concentric Mate to ‘H‘ and since my hand is usually on that area of the keyboard it makes for some blazing fast assembly construction. Here’s the step-by-step:
- Right-click on Toolbars, Customize
- Select the Command Tab
- Select the macro Category
- Drag the Macro Icon to a Toolbar
- In the pop-up, under Action browse to the Macro
- In the Shortcut Box, addthe keyboard shortcut you want to use
You can do this with other Macros you have as well. It save some clicking and it saves some moving around, but most of all it speeds up a very repetitive process. What Macros do you set up on the keyboard?