--------------------------------------------------------------------04/04/2007
MateAlignToggle.swp               Written by Leonard Kikstra,
                                  Copyright 2007, Leonard Kikstra
                                  Portions Copyright by SolidWorks Corporation
                                  Downloaded from Lenny's SolidWorks Resources
                                       at http://www.lennyworks.com/solidworks
------------------------------------------------------------------------------

This macro will toggle the alignment of preselected mates.  Works with 
multiple selections and automatically filters out improper selections.

This macro is based on "Edit Mate Example (VB)" example from the SolidWorks
Add-ins and API help file.  This example shows how to edit an assembly mate.
The code has been modified by Leonard Kikstra to allow working with multiple
pre-selected mates.


Notes: 
* Successive launches of this macro on the same mate may cause SolidWorks to 
  stop functioning.
* Mates must be selected before launching macro.
* This macro will not detect or correct mate conflicts before, during or after
  it's use.

-------------------------------------------------------------------------------

DISCLAIMER:
* This macro is provided free of charge for personal use and/or reference. 
* This macro may be freely distributed, provided the original copyright 
  notices remain unchanged and intact. 
* This macro was written to work with SolidWorks 2006 and may work with other
  versions of SolidWorks with minimal or no changes.
* This macro, and corresponding files, are provided as is. 
* There are no warranties, expressed or implied, that This macro will perform 
  as indicated, perform to users expectations, or complete a specific task. 
* This macro will change the current SolidWorks document. Use This macro at 
  your own risk. Back up your data before using this macro on any SolidWorks 
  document. 

-------------------------------------------------------------------------------
