|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Library Reference > Document > DBWGetIdFromFullFileName1 |
Retrieves DocID and DocUid from full file name and a configuration.
Function DBWGetIdFromFullFileName1(DirName, FileName, Configuration, byref DocUid)
DirName |
directory name (the path) |
|---|---|
FileName |
filename |
Configuration |
configuration |
This function assumes the value of the document ID
DocuUid |
document unique id |
Function DBWGetIdFromFullFileName
dirname = "c:\dirone\dirtwo\dirthree\"
filename = "test.sldasm"
configuration = "red"
docId = DBWGetIdFromFullFileName1(dirname, filename, configuration, docUid)
msgbox docId & " with unique id = " & cstr(docUid)