HyperWorks Desktop

ParsedDocument_addMetadata

ParsedDocument_addMetadata

Previous topic Next topic No expanding text in this topic  

ParsedDocument_addMetadata

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

NAME


ParsedDocument_addMetadata

 

SYNTAX  


ParsedDocument_addMetadata <Parsed document handle> <metadata handle>

 

 

TYPE/CLASS


ParsedDocument

 

 

DESCRIPTION


Placeholder for a metadata that’s parsed from a document. This metadata value will be used by ContentInterface_SetMetadata to set the metadata value to the content.

Parsed document handle

Handle of the document that is being parsed

metadata handle

Metadata handle

 

EXAMPLES


set metaval "fileType"

set val "H3D"

set v1 [hwVariant]

$v1 SetString $val

set dm [new_DocumentMetadata $metaval 1 $v1]

ParsedDocument_addMetadata $documentp $dm

 

ERRORS


 

SEE ALSO


new_DocumentMetadata

ContentInterface_SetMetadata

DocumentMetadata_getName