iCAx开思工具箱

标题: 求助sw二次开发中布尔运算命令的应用问题 [打印本页]

作者: zhangbanglei    时间: 2010-6-13 13:01
标题: 求助sw二次开发中布尔运算命令的应用问题
VC对sw二次开发布尔运算命令IInsertCombineFeature
对第四个参数的解释不理解,
(LPBODY2*) 是什么类型 toolsArr 怎么定义  如何初始化

status = FeatureManager->IInsertCombineFeature ( operationType, mainBody, toolsCount, toolsArr, &retval )

Input:
(long) operationType
One of the following body operations:
    SWBODYADD
    SWBODYCUT
  • SWBODYINTERSECT
Input:
(LPBODY2) mainBody
For subtract and cut operations, this is the target body; for other operations, this is NULL
Input:
(long) toolsCount
Number of bodies to combine
Input:
(LPBODY2*) toolsArr
Array of bodies to combine of size toolsCount
Output:
(LPFEATURE) retval
Pointer to the [url=mkMSITStore:C:\Program%20Files\SolidWorks\api\sldworksAPI.chm::/Feature/Feature.htm]Feature[/url] object
Return:
(HRESULT) status
S_OK if successful





欢迎光临 iCAx开思工具箱 (https://t.icax.org/) Powered by Discuz! X3.3