We've got some issues with printer line thickness on drawingsthat were created in 2007 and are upgraded to 2009. As you mayknow, SW previously stored the printer line thickness as a systemvalue, now its stored in the document. Somehow when we open a 2007document into 2009, it assigns the wrong values to the linethickness. However, its not consistant. Sometimes its right,sometimes wrong.
I'm trying to fix it with a macro, but it doesn't seem to work. The2009 SW API help said set the system value before opening thedrawing. I've tried that, but with no luck.
This is the code I'm using:
Any ideas?
Thanks,SolidworksApi macros

I'm trying to fix it with a macro, but it doesn't seem to work. The2009 SW API help said set the system value before opening thedrawing. I've tried that, but with no luck.
In SolidWorks 2009 and later, SolidWorks recommends that you setdocument-level line weights instead of system-level line weights.However, if you must set system-level line weights on a documentcreated in SolidWorks 2008 or earlier, then you must set thesystem-level line weights before opening the document.
This is the code I'm using:
boolstatus =swApp.SetUserPreferenceDoubleValue(swPageSetupPrinterNormalWeight,0.0003556) ' new line weight in Meters
Thanks,SolidworksApi macros