HyperWorks Desktop

ContentInterface_GetDocuments

ContentInterface_GetDocuments

Previous topic Next topic No expanding text in this topic  

ContentInterface_GetDocuments

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

NAME


ContentInterface_GetDocuments

 

SYNTAX


ContentInterface_GetDocuments <content interface handle> <hw_StringList>

 

 

TYPE/CLASS


ContentInterface

 

 

DESCRIPTION


Get all the associated documents. Note that this does not return the documents associated with the contents to which this content refers. You need to explicitly get the references and ask for the documents from the referred contents. Returns the handle on the documents. Use hwStringList_at to get the handle on the specific document.

content interface handle

Content interface handle

hw_StringList

hwStringList pointer

 

 

EXAMPLES


set gdm [DMDirector_OpenWorkspace $director $ws $repoh 0]

set qryhandle [$gdm GetQuery]

set stringtosearch "MS6000"

set clist [ContentInterfaceList]

set query [$gdm ExecQuery $stringtosearch $clist]

set cilistsize [ContentInterfaceList_size $clist]

set clist_at [ContentInterfaceList_at $clist 0]

set content_name [ContentInterface_DisplayName $ clist_at]

set docs [hwStringList]

ContentInterface_GetDocuments [ContentInterfaceList_at $clist 1] $docs

 

ERRORS


 

SEE ALSO


ContentInterfaceList

ContentInterfaceList_size

hwLMStatus_GetMessage