HyperWorks Desktop

ContentInterface_GetCategories

ContentInterface_GetCategories

Previous topic Next topic No expanding text in this topic  

ContentInterface_GetCategories

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

NAME


ContentInterface_GetCategories

 

SYNTAX


ContentInterface_GetCategories <content interface handle>

 

 

TYPE/CLASS


ContentInterface

 

 

DESCRIPTION


To get handle on the list of categories the selected content belongs to. Returns a list ContentInterfaceList. Use ContentInterfaceList_size to get the number of categories.

 

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 categories [ContentInterface_GetCategories $clist_at]

 

ERRORS


 

SEE ALSO


DMDirector_OpenWorkspace

ContentInterfaceList

ContentInterfaceList_size

hwLMStatus_GetMessage