HyperWorks Desktop

LibraryManager_UndoCheckOut

LibraryManager_UndoCheckOut

Previous topic Next topic No expanding text in this topic  

LibraryManager_UndoCheckOut

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME


LibraryManager_UndoCheckOut

 

SYNTAX  


LibraryManager_UndoCheckOut <generic data manager handle> <content handle> <undo reference file flag>

 

TYPE/CLASS


Library Manager

 

DESCRIPTION


Marks the content as not checked out. The content will still be in a retrieved state. All of the changes made to the content will be reverted. However, the content is still available to you on your local machine.

generic data manager handle -

Generic data manager handle. See DMDirector_OpenWorkspace.

content handle

Content handle. See ContentInterfaceList_at.

Undo reference file flag – Use this flag to undo the check out of any referenced contents

0 – True

1 – False

 

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 undoRefs 0

set getstatus [LibraryManager_UndoCheckOut $gdm $ci $undoRefs]

puts “Message à [hwLMStatus_GetMessage $getstatus]”

 

ERRORS


 

SEE ALSO


DMDirector_OpenWorkspace

GetQuery

Get

ExecQuery