×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

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?

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

-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?

(OP)
Okay,
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?

(OP)
Okay... getting closer.  I found in the SW API help, the version codes listed.  I am only using 2007, so I can't get the newer ones.

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?

Here is updated one

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?

(OP)
Thank you sir.

-Dustin
Professional Engineer
Certified SolidWorks Professional
Certified COSMOSWorks Designer Specialist
Certified SolidWorks Advanced Sheet Metal Specialist
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources