HyperWorks Desktop

LibraryManager_CheckIn

LibraryManager_CheckIn

Previous topic Next topic No expanding text in this topic  

LibraryManager_CheckIn

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

NAME


LibraryManager_CheckIn

 

SYNTAX


LibraryManager_CheckIn <generic data manager handle> <content handle> <”Comment”>

 

 

TYPE/CLASS


Library Manager

 

DESCRIPTION


Check in the file associated with the content. Updates and metadata changes made to the content. Also creates a revision. Returns a hwLMStatus. Use hwLMStatus_GetMessage to check the message.

generic data manager handle

Generic data manager handle. See DMDirector_OpenWorkspace.

content handle

Content handle. See ContentInterfaceList_at.

Comment

You can pass comment that’s associated with the check-in operation. This will be stored in the database as a metadata.

 

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 getstatus [LibraryManager_CheckIn $gdm $ci “Updated Model” ]

puts “Message à [hwLMStatus_GetMessage $getstatus]”

 

ERRORS


 

SEE ALSO


DMDirector_OpenWorkspace

GetQuery

Get

ExecQuery