MaterialProperties.swp - Copyright 2003 Leonard Kikstra              08/04/2003

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

INTRODUCTION:
MaterialProperties is a SolidWorks macro that provides a quick and consistent 
method for changing the material properties of a SolidWorks part model.  Once 
your preferred materials, densities, patterns and colors are entered into the 
external data file, the data is used by the macro to provide a simple interface 
for changing the material properties of the SolidWorks part model.  (If the 
external data file is not found, the user will be warned, and the default 
notes, stored in the macro, will be used.)  This macro ensures the part 
densities, hatch pattern and model color, based on the material selected, are 
consistent with definitions that exist in the external data file.

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

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. 

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

CONFIGURING THE EXTERNAL DATA FILE:
  * Data file must be in same directory as macro file.  
  * Data file must have same name as macro file with '.ini' extension.
  * Section names must be enclose with [] brackets. 
  * Section names are case sensitive and must match.  
  * An empty line must exist at the end of each section.
  * Data with special characters should be enclosed in "" quotes.
  * The group [MATERIAL] must exist in the data file.
  * This group must contain the material name (used in 'MATERIAL' custom 
    property), model density (lbs/cu.in), SolidWorks hatch pattern name 
    (Case sensitive) and model color (RGB hexadecimal).  See example below.

Example:
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 

[MATERIAL]
"CR STEEL",               0.285427, "ANSI32 (Steel)",          F0D0D0
"HR STEEL",               0.285427, "ANSI32 (Steel)",          F0D0D0
"STAINLESS STEEL",        0.285427, "ANSI32 (Steel)",          F0F0F0

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