|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > CADSystem > DBWGetCADVersion |
Returns the name of the used CAD, its major version and the installed service pack.
Function DBWGetCADVersion(ByRef major, ByRef sp)
The function assumes, as value, the name of the CAD application
major |
the major version of the CAD application |
|---|---|
sp |
the mounted sp number of the CAD application |
Some examples:
CAD app |
major |
sp |
|---|---|---|
SolidWorks |
2012 |
5 |
Inventor |
16 (i.e.2012) |
2 |
SolidEdge |
104 (i.e.ST4) |
2 |
cad_name = DBWGetCADVersion(major, sp)
msgbox "CAD application: " & cad_name & vbcrlf & "major version: " & major & vbcrlf & "service pack: " & sp