Macro for determining the version of SW that a file was last saved as?
Macro for determining the version of SW that a file was last saved as?
(OP)
I remember seeing a thread recently that listed the codes that are embedded in each file based on the version that it was created under. I can't find that thread. I recently acquired a macro that you can run and it will tell you the version... but it only works up to SW2007. I need the codes for the newer releases. Here is what I have:
[VERSION]
2000,1500
2001,1750
2001Plus,1950
2003,2200
2004,2500
2005,2800
2006,3100
2007,3400
Any help? Thanks
[VERSION]
2000,1500
2001,1750
2001Plus,1950
2003,2200
2004,2500
2005,2800
2006,3100
2007,3400
Any help? Thanks
-Dustin
Professional Engineer
Certified SolidWorks Professional
Certified COSMOSWorks Designer Specialist
Certified SolidWorks Advanced Sheet Metal Specialist






RE: Macro for determining the version of SW that a file was last saved as?
I found a thread over on the solidworks board.. but that only brought me up to 2008.
https://forum.solidworks.com/message/77886#77886
Here is the link to the macro that I downloaded (also from SW board):
https://forum.solidworks.com/message/28592#28592
Still looking for the answer. SW help doesn't specify anything either.
-Dustin
Professional Engineer
Certified SolidWorks Professional
Certified COSMOSWorks Designer Specialist
Certified SolidWorks Advanced Sheet Metal Specialist
RE: Macro for determining the version of SW that a file was last saved as?
Can anyone do a search (preferably) on 2010 in the API help for "versionhistory" and give me the list of codes. Here is what 2007 lists:
SolidWorks 95 44
SolidWorks 96 243
SolidWorks 97 483
SolidWorks 97Plus 629
SolidWorks 98 822
SolidWorks 98Plus 1008
SolidWorks 99 1137
SolidWorks 2000 1500
SolidWorks 2001 1750
SolidWorks 2001Plus 1950
SolidWorks 2003 2200
SolidWorks 2004 2500
SolidWorks 2005 2800
SolidWorks 2006 3100
SolidWorks 2007 3400
-Dustin
Professional Engineer
Certified SolidWorks Professional
Certified COSMOSWorks Designer Specialist
Certified SolidWorks Advanced Sheet Metal Specialist
RE: Macro for determining the version of SW that a file was last saved as?
SolidWorks 2008 3800
SolidWorks 2009 4100
SolidWorks 2010 4400
Deepak Gupta
SW2009 SP4.1
SW2007 SP5.0
MathCAD 14.0
RE: Macro for determining the version of SW that a file was last saved as?
-Dustin
Professional Engineer
Certified SolidWorks Professional
Certified COSMOSWorks Designer Specialist
Certified SolidWorks Advanced Sheet Metal Specialist