API 文件集 > View manager > Object ProXsec > Function ProXsecCompXhatchGet
Function ProXsecCompXhatchGet
Description
Returns cross-section component xhatching
Replacement in Object TOOLKIT:
Synopsis
#include <ProXsec.h>
ProXsecCompXhatchGet
(
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
*/
ProXsecXhatch** p_xhatch_arr
/* (Out)
ProArray of cross-section component line patterns. Free this using ProArrayFree().
*/
)
Returns
Data successfully retrieved.
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 or the component doesn't have xhatches.
Input cross-section is with non-linear-hatch. Not supported with non-linear-hatch. Can be used ProXsecCompNewXhatchStyleGet() instead.
Multi-Body parts are being cut by the Cross-section.
User Guide References
這是否有幫助?