|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > CADSystem > DBWCheckForConversion |
Returns TRUE if the SolidWorks file assigned as filename is of an older file format than the current ones created by SolidWorks.
Function DBWCheckForConversion(file_name)
file_name |
The file name to check the version of |
The function assumes value of true if the checked file is older than others just created.
Dim swApp
Sub main()
Set swApp = CreateObject("SldWors.Application")
DBWInit(TRUE)
if DBWCheckForConversion("f:\archive\handlebar\handle|bar|complete.sldasm") then
MsgBox "The file must be converted!"
end if
End Sub