I have a macro that exports Solidworks sheets to tiff filesfor use in Word docs. In order for lineweights to be visible, it'sfirst neccesary to change the width of the lineweights to 0.5mm.
Well, I've discovered that lineweights are in
HKEY_CURRENT_USER\Software\SolidWorks\SolidWorks 2006 Viewer\Page
I'd like to retrieve the existing values when the applicationlaunches, set new values when it prints and then restore the oldvalues when it closes.
I'm using VBA, but I also have VB6. I've found a couple of registrycommands, but nothing that directly writes or reads a key
Can someone advise me on what methods/objects to use?
Thanks
John
SolidworksApi macros
Well, I've discovered that lineweights are in
HKEY_CURRENT_USER\Software\SolidWorks\SolidWorks 2006 Viewer\Page
I'd like to retrieve the existing values when the applicationlaunches, set new values when it prints and then restore the oldvalues when it closes.
I'm using VBA, but I also have VB6. I've found a couple of registrycommands, but nothing that directly writes or reads a key
Can someone advise me on what methods/objects to use?
Thanks
John
SolidworksApi macros