24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1178  |  回复: 3
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

zhangbanglei

金虫 (正式写手)

[交流] 【求助】求助有没有做VC++ 对SolidWorks二次开发的已有3人参与

求助有没有做VC++ 对SolidWorks二次开发的,下面是里面的布尔运算命令 ,不知道怎么使用,还望高手指教,不胜感激。特别是第四个参数的应用 (LPBODY2*) toolsArr   Array of bodies to combine of size toolsCount,下面是帮助文件中的解释,我想具体知道(LPBODY2*) 是什么类型?toolsArr 该怎么初始化??

Syntax (COM)

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 Feature object

Return:
(HRESULT) status
S_OK if successful

[ Last edited by 三个小石子 on 2010-8-25 at 10:20 ]
回复此楼
孜孜不倦求知、踏踏实实做人
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 zhangbanglei 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见