Category Feature element trees, Object ProReference

Function ProReferenceSet


Description
Sets the referenced model item and path in the reference handle.
Synopsis
#include <ProReference.h>
ProErrorProReferenceSet(
ProReference reference
/* (In)
The reference handle.
*/
ProAsmcomppath* path
/* (In)
The component path. If NULL, reference handle will be set as local reference.
*/
ProModelitem* item
/* (In)
The model item handle. If NULL, model item from ProAsmcomppathMdlGet() -> ProMdlToModelitem() will be set to reference handle. Both item and path cannot be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.

Manual References:

  1. Element Trees: References: Modifying References
  2. Element Trees: References: Modifying References

Sample Code References:

  1. pt_af_examples ( PTAEToChamfer.c )
  2. pt_af_examples ( PTAEToDraft.c )
  3. pt_af_examples ( PTAEToDraft.c )
  4. pt_af_examples ( PTAEToDraft.c )
  5. pt_af_examples ( PTAEToRound.c )
  6. pt_userguide ( UgChamferTemplate.c )
  7. pt_userguide ( UgDraftTemplate.c )
  8. pt_userguide ( UgDraftTemplate.c )
  9. pt_userguide ( UgDraftTemplate.c )
  10. pt_userguide ( UgRoundTemplate.c )
  11. pt_userguide ( UgRoundTemplate.c )
  12. pt_userguide ( UgRoundTemplate.c )