Share this Tip on Facebook

22

Apr

2010

SolidWorks Macros Print
Written by SolidWorksTips.com   

The Macros below are posted without warranty and are only posted to improve your productivity with SolidWorks.

ADD_REV_TO_REVBLOCK.swp 1

This macro adds a revison to the revblock and asks for the information to add to it.

BalloonModify.swp 2

This macro checks the current selected group of items for balloons, and then changes the selected ones to underline, tight fit & whatever text the user inputs. While in SolidWorks, it remembers this value for the next time around. This macro will change any balloon texts, however it wasn't until 2001+, SP3.0 that SW allowed stacked balloons to have different properties, so the functionality is somewhat limited in earlier versions.

Centermarks.swp 2

Centermarks all circles found in a specific drawing view. REQUIRES DRAWING VIEW TO BE SELECTED FIRST, AND FACE ALSO TO BE SELECTED (SECOND)

fixall.swp 3

Traverses one level deep into assembly and fixes each component

Get Selected Object Type.swp 4

Gives a message box telling the type of object selected. Could be used for debugging or added to an existing project for application

BoundingBox.swp 2

This macro gets the bounding box dimensions for the config specific model and adds a small amount to it. This amount can be changed by modifying the "AddFactor" value below. It checks to make sure you have a proper document open. It checks & utilizes the user units. It will add 3 separate properties or combine them all into one property. It will optionally draw a 3D sketch for you.

closeFmanager.swp 4

This macro shows and hides the Feature Manager Tree

CGpoint.swp 5

Creates a 3D sketch point at the Center of Gravity of a part

mates.zip 4

The macros in this zip file will automaticly create either a concentric, coincident or parrallel mate

MassOfSelectedView.swp 6

This macro gets the mass for the config specific model in the pre-selected drawing view. It also puts the selected value in the clipboard. If a block that contains a "weight" tag name is also selected, it will put the selected value in that note. It checks for no drawing, lightweight, etc.

ConfigListOut.swp 2

This macro will loop through each of the configurations in the current file, and output a list of the config names along with the path name & filename. This info is appended to a common text file, which can then be imported into an Access table, or whatever.

Estimator.swp 4

This macro will estimate the pirce and cuts of a SolidWorks part foe cost of Manufacturing

SetTextboxWidth.swp 2

Macro sets textwidth for selected texts. This is useful for all texts which should perform a automatic word wrap, for there is no way in SolidWorks itself to enter a text with a specific width which will automatically word wrap.
ATTENTION: the annotation will lose "Use document font" property

LightingRevert.swp 2

This macro resets the lighting to what was the default in 2001 Plus

Pipe.swp 7

Designed to automate the process of creating strait Piping by simply selecting Schedule and Nominal size, and entering a length.  Although there have been zero compaints, use at your own risk I will not be responsible for any adverse affects this may have. (Possible loss of every thing you have ever worked on). Seriously though I will not be held responsible. All units are entered and shown in inches

   

1 Written by SolidWorks Tips and Things
2 Written by Wayne Tiffany
3 Written by Kevin Silbert
4 Written by Unknown
5 Written by Don Shoebridge, Chin Gengold, edited by Matt Lombard
6 Written by Stefan Berlitz
7 Written by Corey Scheich;

 

Add comment


Security code
Refresh