HyperWorks Desktop

ContentInterface_AddReference

ContentInterface_AddReference

Previous topic Next topic No expanding text in this topic  

ContentInterface_AddReference

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

NAME


ContentInterface_AddReference

 

SYNTAX


ContentInterface_AddReference <content interface handle1> <content interface handle2>

 

 

TYPE/CLASS


ContentInterface

 

 

DESCRIPTION


To add reference to a selected content. Note that the parent file should be checked out.

content interface handle1

àContent Interface handle of the content which will get a reference file

content interface handle 2

àContent interface handle of the content which will be added as reference

 

EXAMPLES


set query [$gdm ExecQuery $stringtosearch $clist]

set cilistsize [ContentInterfaceList_size $clist]

set content_parent [ContentInterfaceList_at $clist 0]

set content_reference [ContentInterfaceList_at $clist 1]

set status [ContentInterface_AddReference $ content_parent $ content_reference]

 

ERRORS


 

SEE ALSO


DMDirector_OpenWorkspace

ContentInterfaceList

ContentInterfaceList_size

hwLMStatus_GetMessage