API Documentation > Miscellaneous > Object ProXsection > Function ProXsectionCompXhatchStyleSet
Function ProXsectionCompXhatchStyleSet
Description
Sets cross-section xhatch style on component. If the XhatchStyle and the hatch_name exist in the session, no new hatch with with TK suffix will be created. The existent hatch will be set.
Replacement in Object TOOLKIT:
Synopsis
#include <ProXsec.h>
ProXsectionCompXhatchStyleSet
(
/* (In)
Cross-section handle
*/
/* (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.
*/
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_#. If the XhatchStyle is created by
*/
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).
User Guide References
Was this helpful?