Apply Material to a Part

Here’s a VBA code to apply material to an opened SolidWorks part file. This macro applies ‘AISI 304’ material from ‘Solidworks Materials.sldmat’ database to the active configuration of the active part file. In order to apply a material to a part, a method named ‘SetMaterialPropertyName2’ is used. The following flowchart shows how we got access […]

Apply Material to a Part Read More ยป