|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > File > isPathInNoDBDirectory |
This command check the option
General→[Only store/Do not store] records for documents within the following directories
and returns whether or not the path is in No DB Directories.
call DBWShell("isPathInNoDBDirectory DocFullPathName")
DocFullPathName |
The full path name of the document |
@OK_IS_PATH_IN_NO_DB_DIRECTORIES |
0: the record is managed by the MechworksPDM |
...
fileFullPath = "Z:\mydir\mysubdir\myDoc.SLDPRT"
call DBWShell("isPathInNoDBDirectory " & fileFullPath)
isManaged = DBWResult("@OK_IS_PATH_IN_NO_DB_DIRECTORIES")
...