Category View manager, Object ProXsec

Function ProXsecCompXhatchStyleSet


DEPRECATED: Since Creo 7
SUPERSEDED BY: ProXsectionCompXhatchStyleSet, ProXSectionItemXhatchStyleSet
Description
Replaces line patterns with new one in cross-section component xhatching Non-linear-hatch is not supported. Please use ProXsecCompNewXhatchStyleGet() for non-linear-hatch support.

NOTE: This function is deprecated. Please use ProXsectionCompXhatchStyleSet to set Xhatch on component. Please use ProXSectionItemXhatchStyleSet to set Xhatch on body.

Synopsis
#include <ProXsec.h>
ProErrorProXsecCompXhatchStyleSet(
ProXsec* xsec
/* (In)
Cross-section handle
*/
int id
/* (In)
Cross-section component id in component list
*/
ProView p_view
/* (In)
View handle if not NULL, in component list we have only solid geometry (non-quilt and non-facetrep) components that intersect their non-hidden, non-suppressed parts and are inside view borders; if NULL, in component list we have all non-empty components
*/
ProXsecXhatchStyle* p_xhatch_style
/* (In)
ProXsecXhatchStyle handle
*/
)
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_FOUNDInput cross-section is not a drawing view cross-section or doesn't have the component with given id that is inside the view.
PRO_TK_MULTIBODY_UNSUPPORTEDMulti-Body parts are being cut by the Cross-section.

Manual References:

  1. Core: Cross Sections: Line Patterns of Cross Section Components
  2. Core: Cross Sections: Line Patterns of Cross Section Components
  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