ContentInterface_GetCategories
ContentInterface_GetCategories <content interface handle>
ContentInterface
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.
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]