This is my first time using discussion forum and this is the first macro I've try to get to work. I used the recorder to make a macro to run feature works on imported parts and then change material and close file. Since I had a hundred to do I thought a macro would be the best way to go about it. The macro will open feature works but will not run it. And it did not save and close file after completing tasks. It did change material. I will attach macro.
SolidworksApi macros