|
马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
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
|
|
|