Category Feature element trees, Object ProReference

Function ProReferenceOriginalownerGet


Description
Gets the original owner model of a reference handle. This could be different from the actively used owner if the reference has been backed up, copied locally, or replaced with an alternate.
Synopsis
#include <ProReference.h>
ProErrorProReferenceOriginalownerGet(
ProReference reference
/* (In)
The reference handle.
*/
ProMdl* mdl
/* (Out)
The original owner model that is referenced.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_EMPTYThis value is not set in the reference (it is the same as the current owner).
PRO_TK_E_NOT_FOUNDThe original reference model is not in session.
See Also
ProReferenceIsLocalcopy
ProReferenceIsAlternate
ProReferenceStatusGet

Manual References:

  1. Element Trees: References: Reading References
  2. Element Trees: References: Reading References