Category View manager, Object ProXsec

Function ProXsecGeometryCollect


DEPRECATED: Since Creo 7
SUPERSEDED BY: ProXSectionItemsCollect, ProXSectionItemDataGet
Description
Returns the geometry of non-empty cross-section components (intersecting their sub-assemblies)

NOTE: This function is deprecated. Please use ProXSectionItemsCollect and ProXSectionItemDataGet instead to get geom from item.

Replacement in Object TOOLKIT: wfcWXSection::CollectGeometry
Synopsis
#include <ProXsec.h>
ProErrorProXsecGeometryCollect(
ProXsec* xsec
/* (In)
Cross-section handle
*/
ProView p_view
/* (In)
View handle if not NULL, function returns only 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
*/
ProXsecGeometry** r_geom_arr
/* (Out)
Pointer to ProArray of component geometry structures (see ProXsecGeometry)
*/
)
Returns
PRO_TK_NO_ERRORData successfully retrieved.
PRO_TK_BAD_INPUTSInvalid input parameter(s).
PRO_TK_E_NOT_FOUNDInput cross-section is not a drawing view cross-section.
PRO_TK_GENERAL_ERRORCross-section fails regeneration.
PRO_TK_MULTIBODY_UNSUPPORTEDMulti-Body parts are being cut by the Cross-section.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  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: Impact on Existing APIs