| DEPRECATED: | Since Creo 7 | ||||||||||||||||
| SUPERSEDED BY: | ProXsecNewXhatchStyleCreateFromName, ProXsectionCompXhatchStyleSet, ProXSectionItemXhatchStyleSet | ||||||||||||||||
| Description | |||||||||||||||||
| Replaces line patterns with new one with the name hatch_name Relevant only for non-linear-hatch patterns.
NOTE: This function is deprecated. Please use ProXsecNewXhatchStyleCreateFromName to create ProXsecNewXhatchStyle and set it with function ProXsectionCompXhatchStyleSet or ProXSectionItemXhatchStyleSet. |
|||||||||||||||||
| Synopsis | |||||||||||||||||
| #include <ProXsec.h> | |||||||||||||||||
| ProError | ProXsecCompNewXhatchStyleSetByName | ( | |||||||||||||||
| 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) | |||||||||||||||||
| hatch pattern name | |||||||||||||||||
| */ | |||||||||||||||||
| int type | |||||||||||||||||
| /* (In) | |||||||||||||||||
| PRO_XHATCH | PRO_XSEC_EXCLUDED | PRO_XSEC_FILL | PRO_XHATCH_ERASED | |||||||||||||||||
| */ | |||||||||||||||||
| ProColor color | |||||||||||||||||
| /* (In) | |||||||||||||||||
| hatch pattern color | |||||||||||||||||
| */ | |||||||||||||||||
| ) | |||||||||||||||||
| Returns | |||||||||||||||||
|
|||||||||||||||||