Object ProXsection

Function ProXsectionCompXhatchStyleGet


Description
Returns cross-section xhatch style of component. If Xhatch is not the same on all the component bodies error PRO_TK_E_AMBIGUOUS will be returned.
Synopsis
#include <ProXsec.h>
ProErrorProXsectionCompXhatchStyleGet(
ProXsecMdlname xsec
/* (In)
Cross-section handle
*/
ProAsmcomppath* path
/* (In)
path to component. For part: owner is the part and table_num is zero.
*/
ProView p_view
/* (In)
View handle. Could be NULL if not Drawing.
*/
ProXsecNewXhatchStyle* p_xhatch_style
/* (Out)
ProXsecNewXhatchStyle handle. Unused hatch field (either new_lines or old_lines) will be set to NULL.
*/
)
Returns
PRO_TK_NO_ERRORData successfully retrieved.
PRO_TK_BAD_INPUTSInvalid input parameter(s).
PRO_TK_E_AMBIGUOUSIndicates bodies of component have different hatch.

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: Overview
  5. Migrating to the Multibody Environment: Impact on Existing APIs