DataCharter.swp - Copyright 2009 Leonard Kikstra                     03/07/2009

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

INTRODUCTION:
DataCharter is a SolidWorks macro that provides a method of automatically 
exercising SolidWorks geometry and retrieving data from SolidWorks while the 
geometry is being exercised.  

This macro provides a demonstration of using a SolidWorks macro to change and 
read data from SolidWorks models.  This provides a means of reducing errors 
while retrieving and storing this data.

This macro also provides an example of reading and handling mouse selections 
from a SolidWorks macro.

An example, file is provided and is referenced in teh directions below.

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

To use this macro:
  * Open a SolidWorks document.
  * For Horizontal Scale, 
    - Select desired dimension from the SolidWorks geometry.  This must be a 
      "driving" dimension, one that changes the geometry as it is changed.
      Example, select the 4.00 dimension
    - Enter possible values for this dimension.
  * For Vertical Scale, 
    - Select desired dimension from the SolidWorks geometry.  This must be a 
      "driving" dimension, one that changes the geometry as it is changed.
      Example, select the 30 dimension
    - Enter possible values for this dimension.
  * For Charted Dimension
    - Select desired dimension from the SolidWorks geometry.  This must be a 
      "driven" dimension, one that is changed as the geometry is changed.
      Example, select the 2.31 dimension
  * Select output precision.
  * Select "Charted data" in the menu in the upper left.
  * Once all selections have been made, click on "Create Chart"

Once all data has been retrieved, the charted data will apear in the form.  
Data can be exported to a comma separated file (CSV) or Excel (xls) file.

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

LIMITATION:
This macro is provided as an example.  As written, the horizontal scale is 
limited to the first 9 possible values listed.

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

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. 

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