DBWGetIdFromFullFileName1

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Library Reference > Document >

DBWGetIdFromFullFileName1

Description

Retrieves DocID and DocUid from full file name and a configuration.

Syntax

Function DBWGetIdFromFullFileName1(DirName, FileName, Configuration, byref DocUid)

Parameters

DirName

directory name (the path)

FileName

filename

Configuration

configuration

Return Values

This function assumes the value of the document ID

DocuUid

document unique id

See also

Function DBWGetIdFromFullFileName

Example

dirname = "c:\dirone\dirtwo\dirthree\"
filename = "test.sldasm"
configuration = "red"
docId = DBWGetIdFromFullFileName1(dirname, filename, configuration, docUid)
msgbox docId & " with unique id = " & cstr(docUid)