API 설명서 > View manager > Object ProXsec > Function ProXsecCompNewXhatchStyleSet
Function ProXsecCompNewXhatchStyleSet
DEPRECATED:
Since Creo 7
Description
Replaces line patterns with new one in cross-section component xhatching.
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>
ProXsecCompNewXhatchStyleSet
(
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
*/
ProName hatch_name
/* (In)
Name for the non-linear-hatching. A suffix _TK will be added to the name Relevant only for the non-linear-hatch. If NULL, the hatch will be called TK_#.
*/
ProXsecNewXhatchStyle* p_xhatch_style
/* (In)
ProXsecNewXhatchStyle handle Unused hatch field (either new_lines or old_lines) should be set to NULL.
*/
)
Returns
Data successfully retrieved.
Model is in read-only state.
Invalid input parameter(s).
Cross-section fails regeneration.
Input cross-section is not a drawing view cross-section or doesn't have the component with given id that is inside the view.
Multi-Body parts are being cut by the Cross-section.
User Guide References
도움이 되셨나요?