codestack
codestack copied to clipboard
Trouble with LoadLineStyles
I'm trying to create a macro that will load a line style file and have been referencing the link below, but I can't seem to get the LoadLineStyles to work.
https://help.solidworks.com/2019/English/api/sldworksapi/Manage_Drawing_Document_Line_Styles_Example_VB.htm
Basically I have drawings where the stitch line style has the dots too close together so it looks like a solid line. So I created a file to load the stitch with the correct spacing and I wanted it to load on opening or on saving but I can't even get it to load with just running it. Any help would be greatly appreciated.