DeleteConfigurations   Copyright 2003 Leonard Kikstra                10/06/2003

Dowloaded from KIKSTRA SolidWorks Resources
	http://webpages.charter.net/mkikstra/SolidWorks.html
-------------------------------------------------------------------------------

INTRODUCTION:
This is a series of macros that can be used to delete configurations in a
SolidWorks model.  See WARNING below prior to using these macros.

DeleteConfigs.swb
  This ia a simple macro that allows you to delete all configurations, except 
  for the current configuration, from a SolidWorks model. This macro will 
  then attempt to rename the current configuration to Default, and reset part 
  number used in BOM to use the document name.  There is no interface to this 
  macro.  This macro will prompt user to confirm current configuration, and 
  deletion process.

DeleteAllConfigs.swp
  This macro first displays information about configurations in the current
  SolidWorks model prior to deleting these configurations.  Since this macro 
  deletes important data from the current model, there are 2 check boxes; 
  ( 1 - Verify number of configurations to delete, and 2 - Verify the current 
  configuration that is to remain ) that must be selected prior to permitting 
  the user to delete the configurations. During the deletion process, a status 
  will be displayed showing the status of the deletion process.  Upon 
  completion, the user will be presented with the final number of 
  configurations that have been deleted from the SolidWorks model.

DeleteSelectedConfigs.swp
  This macro displays a list of configurations, except for the current 
  configuration, in the current SolidWorks model.  The current configuration 
  cannot be deleted.  The name of the current configuration is displayed 
  under the list of configurations.  The user can then select the configurations 
  that are to be deleted.  During the deletion process, a status will be 
  displayed showing the status of the deletion process.  Upon completion, the 
  user will be presented with the final number of configurations that have been 
  deleted from the SolidWorks model.  Version 1.10 incorporates a new selection 
  filter.

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

NOTE:    If assemblies or drawings are currently loaded, in the current session 
         of SolidWorks, that reference a configuration in the current model, 
         the referenced configurations can not and will not be deleted.

WARNING: The SolidWorks 'UNDO' command cannot recover configurations that have
         been deleted by this macro.  Use at your own risk.  Back up your data 
         before using this macro on any SolidWorks document.

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

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

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