|
MACROS
Macros
should be placed in a folder named "Macros" inside your SolidWorks
installation directory. Make sure you exit and restart SolidWorks after
you place the Macros in the directory If SW was running.
Go
to Tools/Customize/Macros. All the Macros in the Macros Directory will
show up in the Window. At this time you can add hotkeys to the Macros
just like any other SW functions.
-
.swb = Basic Source in ASCII. Edit with text editior.
-
.swp = VBA Project in binary. Edit in SW
-
Create by recording or from scratch
Run from :
- Macro
play button
-
Custom Macro Icon: Anybitmap 16x16, 16 color, white background
-
Hot key
-
Macro Feature: Must be done thru API
-
Macro sites
MACROS Provided by Eric
Franco (macros are in zip format, unzip before using. All macros are
free to use but please keep the name of the person that created them)
- “FM-Split-Toggle.swb”
by Dale Dunn. Toggle feature manager open and closed.
- “Sketch-Relations-Toggle.swp”
by Greg Jankowski. Toggle the setting of "Automatic relations"
- “Flat
DXF.swp” by Fielder Hiss. Create a DXF from a flattened sheet
metal part.
- “Animate.swp”
Iterate an assembly dimension value between set bounds in order to simulate
an animation.
- “Offset-Replace-Face.swb”
by Chen Gingold. Combination of Oset Face and Replace Face commands.
- “BMP
for each feature.swb” by Steve Fye.
- “Point
at CG.swb” by Don Shoebridge. Puts a point at the CG of a
part or assembly. Needs to be rerun each time a change is made.
- “pointOnMassCenter.SLDPRT”
by SolidWorks. A part with an embedded Macro Feature that automatically
puts a point at it’s CG after each rebuild. Could be used as a
template part for any geometry.
- “ConfigSwitcher.swp”
by Aaron Kelly. Iterates thru all configurations of a part or assembly.
This will subsequently allow for quick switching since they are essentially
all preloaded.
- “Config_List.swb”
by Tony O'Hara & Wayne Tiffany. Outputs a text list of all configurations.
- “SaveAs
JPEG.swp” by Muggs Ferguson. Creates jpg of each ortho view
plus isometric, diametric, and trimetric.
|