API 文件集 > View manager > Object ProXsec > Function ProXsecNewXhatchStyleCreateFromName
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>
ProXsecNewXhatchStyleCreateFromName
(
ProName hatch_name
/* (In)
Name of existing PAT hatch.
*/
ProColor color
/* (In)
color of the newly created pattern.
*/
int type
/* (In)
*/
ProXsecNewXhatchStyle* p_xhatch_style
/* (Out)
ProXsecNewXhatchStyle handle. Unused hatch field (old_lines) will be set to NULL.
*/
)
Returns
Data successfully retrieved.
Invalid input parameter(s).
User Guide References
這是否有幫助?