|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > UserInterface > GetComponentFileNameFromSearchDialog |
available from build: 20041105 |
This command popups the Component Search Dialog for choosing a component file name / configuration
call DBWShell("GetComponentFileNameFromSearchDialog")
The dialog shown:

Starting from build 20050429 this command is availble for StandAlone installations too.
@DOCUMENT_UNIQUE_ID |
the unique of the component selected in the dialog |
|---|---|
@DOCUMENT_PATHNAME |
the full path name of the component selected in the dialog |
@DOCUMENT_CONFIGURATION |
the configuration of the component selected in the dialog |
sub main
DBWInit(TRUE)
DBWShell("GetComponentFileNameFromSearchDialog")
uid = DBWResult("@DOCUMENT_UNIQUE_ID")
fileName = DBWResult("@DOCUMENT_PATHNAME")
configuration = DBWResult("@DOCUMENT_CONFIGURATION")
DBWMsgBox "FileName=" & fileName & vbCrLf & "Configuration=" & configuration & vbCrLf & "uid=" & uid
end sub