LibraryManager_CheckOut
Gets the file associated with the content.
Syntax
LibraryManager_CheckOut <generic data manager handle> <content handle> <path> < hwStringList> <get reference file flag> < append folder flag>
Type/Class
Library Manager
Description
- generic data manager handle
- Generic data manager handle
- content handle
- Content handle
- path
- Path where you want to download the file to. If the path is empty (“”), the file will be downloaded to the current workspace.
- hwStringList
- String list pointer
- get reference file flag
- Use this flag to retrieve any referenced contents
- 0
- False
- 1
- True
- append folder flag
- Use flag to retrieve the content under the exact folder structure as in
the library
- 0
- False
- 1
- True
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 path ""
set appendFolder 1
set getRefs 0
set flist [hwStringList]
set getstatus [LibraryManager_CheckOut $gdm $ci $path $flist $getRefs $ appendFolder]
puts “Message → [hwLMStatus_GetMessage $getstatus]”