Get
Gets the file associated with the content.
Syntax
<generic data manager handle> Get <content handle> <file path> <filelist> <getrefs> <append Folders> <wtVersion>
Type/Class
Library Manager
Description
- generic data manager handle
- Generic data manager handle
- content handle
- Content handle
- file path
- File path on the local disk to retrieve the file. If empty ( “”), the file is retrieved to the current workspace.
- filelist
- hwString pointer. The retrieved file list is returned to this pointer.
- getrefs
- Get reference file flag
- 0
- True
- 1
- False
- append Folders
- Flag to create the exact folder structure as in the library
- 0
- True
- 1
- False
- wtVersion
- Retrieve the file with the version number appended at the end of the file name
Examples
set gdm [DMDirector_OpenWorkspace $director $ws $repoh 0]
set qryhandle [$gdm GetQuery]
set st [$gdm ExecQuery $ qryhandle $clist]
set stringtosearch "MS6000"
set clist [ContentInterfaceList]
set status [$gdm ExecQuery $stringtosearch $clist]
set ci [ContentInterfaceList_at $clist 0]
set flist [hwStringList]
set getstatus [$gdm Get $ci "" $flist 1 1 0]
puts “filpath [hwLMUtils_GetCStrFromHWSPtr [hwStringList_at $flist 0]]”