iCAx开思工具箱

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 25052|回复: 0
打印 上一主题 下一主题

求助sw二次开发中布尔运算命令的应用问题

[复制链接]
跳转到指定楼层
楼主
发表于 2010-6-13 13:01:48 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册登录,享用更多网站功能!

您需要 登录 才可以下载或查看,没有帐号?立即注册

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
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 支持支持
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手板模型制作,在线3D打印服务

QQ|小黑屋|手机版|开思工具箱 CAD工具箱_CAM工具箱  

GMT+8, 2024-5-3 23:24 , Processed in 0.011729 second(s), 8 queries , Gzip On, Redis On.

Powered by Discuz! X3.3

© 2002-2024 www.iCAx.org

快速回复 返回顶部 返回列表