Category View manager, Object ProXsec

Function ProXsecNewXhatchStyleCreateFromName


Description
Creates ProXsecNewXhatchStyle from hatch name. Relevant only to PAT hatch (non-linear-hatch). Created p_xhatch_style could be set by functions ProXSectionItemXhatchStyleSet and ProXsectionCompXhatchStyleSet.
Synopsis
#include <ProXsec.h>
ProErrorProXsecNewXhatchStyleCreateFromName(
ProName hatch_name
/* (In)
Name of existing PAT hatch.
*/
ProColor color
/* (In)
color of the newly created pattern.
*/
int type
/* (In)
PRO_XHATCH | PRO_XSEC_EXCLUDED | PRO_XSEC_FILL | PRO_XHATCH_ERASED
*/
ProXsecNewXhatchStyle* p_xhatch_style
/* (Out)
ProXsecNewXhatchStyle handle. Unused hatch field (old_lines) will be set to NULL.
*/
)
Returns
PRO_TK_NO_ERRORData successfully retrieved.
PRO_TK_BAD_INPUTSInvalid input parameter(s).

Manual References:

  1. Core: Cross Sections: Line Patterns of Cross Section Components
  2. Core: Cross Sections: Line Patterns of Cross Section Components
  3. Migrating to the Multibody Environment: Overview
  4. Migrating to the Multibody Environment: Impact on Existing APIs