Object ProX

Function ProXSectionItemsCollect


Description
Returns array of ProXSectionItem. An array item is created for each body. If no bodies are created, contains one item for each component.
Synopsis
#include <ProXsec.h>
ProErrorProXSectionItemsCollect(
ProXsecMdlname xsec
/* (In)
Cross-section handle
*/
ProView p_view
/* (In)
View handle if not NULL, function returns only items containing solid geometry (non-quilt and non-facetrep) components that intersect their non-hidden, non-suppressed parts and are inside view borders; if NULL, returns all non-empty components.
*/
ProXSectionItem** p_xsec_items
/* (Out)
ProArray of ProXSectionItem.
*/
)
Returns
PRO_TK_NO_ERRORData successfully retrieved.
PRO_TK_BAD_INPUTSInvalid input parameter(s).
PRO_TK_GENERAL_ERRORCross-section fails regeneration.
PRO_TK_E_NOT_FOUNDp_view is drawing view and input cross-section is not found in the view.
See Also
ProXSectionItemDataGet, ProXSectionItemsArrFree, ProXSectionItemFree.

Manual References:

  1. Core: Cross Sections: Extracting Cross-Sectional Geometry
  2. Core: Cross Sections: Extracting Cross-Sectional Geometry
  3. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0
  4. Migrating to the Multibody Environment: Overview
  5. Migrating to the Multibody Environment: Impact on Existing APIs

Sample Code References:

  1. pt_userguide ( UgXsecList.c )