Hello everyone! How do I get the installed Solidworks version of the operating system (windows)?
I'm assuming you want to know this from within a macro or an add-in. Your exact question is not very clear to me.
When you're developing an add-in, my advise is to use SolidDna which has figured this out already and has a SolidWorksVersion class.
If you want to do it manually, check out the code here:
Especially this line is important to get the SolidWorks version/year: version - 8 + 2000
How to use macro program to achieve, can you give an example?
Have a look at following example: Get Version Number Example (VBA)
Thank you! Your help has been resolved.
You will be able to find all installed versions in the registry under hklm/software/solidworks. There will be sub keys for each installed version.
Retrieving data ...