HyperWorks Desktop

ContentInterface_GetMetadata

ContentInterface_GetMetadata

Previous topic Next topic No expanding text in this topic  

ContentInterface_GetMetadata

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

NAME


ContentInterface_GetMetadata

 

SYNTAX


ContentInterface_GetMetadata <content interface handle> <metadata name>

 

 

TYPE/CLASS


ContentInterface

 

 

DESCRIPTION


Get metadata value of content

content interface handle

Content interface handle

Metadata name

Metadata name that you want to get the value

 

EXAMPLES


To get the metadata value “filetype”

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 filtype [ContentInterface_GetMetadata $clist_at filetype]

puts “file type is [$filtype hwVariant_GetString]”

 

ERRORS


 

SEE ALSO


ContentInterfaceList

ContentInterfaceList_size

hwLMStatus_GetMessage