Category Feature element trees, Object ProElement

Function ProElementCollectionSet


Description
Assigns a collection object to an element of type PRO_E_STD_CURVE_COLLECTION_APPL, PRO_E_STD_SURF_COLLECTION_APPL.
Synopsis
#include <ProElement.h>
ProErrorProElementCollectionSet(
ProElement element
/* (In)
The element.
*/
ProCollection collection
/* (In)
The collection object.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments is invalid.
PRO_TK_INVALID_TYPEThis element does not accept a collection.
PRO_TK_MULTIBODY_UNSUPPORTEDinput collection is not supported in multi-body models.

Manual References:

  1. User Interface: Curve and Surface Collection: Access of Collection Object from Feature Element Trees
  2. User Interface: Curve and Surface Collection: Access of Collection Object from Feature Element Trees
  3. Migrating to the Multibody Environment: Update to Values of Enumerated Data Types

Sample Code References:

  1. pt_af_examples ( PTAEToChamfer.c )
  2. pt_af_examples ( PTAEToDraft.c )
  3. pt_af_examples ( PTAEToRound.c )
  4. pt_examples ( UtilTree.c )
  5. pt_userguide ( UgChamferTemplate.c )
  6. pt_userguide ( UgCreoSweepCreate.c )
  7. pt_userguide ( UgDraftTemplate.c )
  8. pt_userguide ( UgDraftTemplate.c )
  9. pt_userguide ( UgEdgeChamferCreate.c )
  10. pt_userguide ( UgEdgeRoundCreate.c )
  11. pt_userguide ( UgFlexModelCreate.c )
  12. pt_userguide ( UgIntcollectionDraftCreate.c )
  13. pt_userguide ( UgIntcollectionDraftCreate.c )
  14. pt_userguide ( UgOADraftCreate.c )
  15. pt_userguide ( UgOADraftCreate.c )
  16. pt_userguide ( UgRoundTemplate.c )
  17. pt_userguide ( UgSimpleDraftCreate.c )
  18. pt_userguide ( UgSimpleDraftCreate.c )
  19. pt_userguide ( UgSmtFlgWallCreate.c )
  20. pt_userguide ( UgMfgMillSeqCreate.c )
  21. pt_userguide ( UgMfgMillSeqCreate.c )