AnsweredAssumed Answered

Can you change to a custom material using a macro?

Question asked by Jared Huffman on Oct 23, 2014
Latest reply on Jun 21, 2018 by Shawn Wolters

Is it possible to use a macro to change a large group of files to a custom material?

 

I'm using the line:

Part.SetMaterialPropertyName2 "Default", "Q:/SOLIDWORKS/MATERIAL/MATERIALS.sldmat", "CRS"

 

... but nothing happens.  It works with any material from the standard database but not the custom material database. I have verified that the database is in the above location, and the material CRS does exist.

 

Any help would be much appreciated!

Outcomes