| Description | ||||||||||||||
| Reads the named material properties from file and adds (or updates) the specified material name to the part's database. | ||||||||||||||
| Replacement in Object TOOLKIT: | pfcPart::RetrieveMaterial | |||||||||||||
| Synopsis | ||||||||||||||
| #include <ProMaterial.h> | ||||||||||||||
| ProError | ProMaterialfileRead | ( | ||||||||||||
| ProSolid part | ||||||||||||||
| /* (In) | ||||||||||||||
| The part | ||||||||||||||
| */ | ||||||||||||||
| ProName matl_name | ||||||||||||||
| /* (In) | ||||||||||||||
| The name of the material properties (without the extension). The function will look for 'matl_name'.mtl (a modern material file) first, and then 'matl_name'.mat. | ||||||||||||||
| */ | ||||||||||||||
| ) | ||||||||||||||
| Returns | ||||||||||||||
|
||||||||||||||