CATIA二次开发-批处理.pdf
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《CATIA二次开发-批处理.pdf》由会员分享,可在线阅读,更多相关《CATIA二次开发-批处理.pdf(2页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、CATIA 二次开发CAA 以批处理形式遍历零件上点值/包含头文件#include CATSessionServices.h#include CATDocumentServices.h#include CATUnicodeString.h#include CATInit.h#include CATDocument.h#include CATIContainer.h#include CATPoint.h#include/入口主函数,传入 CATIA 文件名称int main(int argc,char*argv)char*sessionName=CAA2_Sample_Session;CATSe
2、ssion*pSession=NULL;/创建工作区HRESULT rc=:Create_Session(sessionName,pSession);if(FAILED(rc)|(NULL=pSession)cout ERROR in creating sessionendl;return 1;CATDocument*pDoc=NULL;/在工作区中打开文件rc=CATDocumentServices:OpenDocument(argv1,pDoc);if(SUCCEEDED(rc)|(NULL!=pDoc)cout Document opened OK QueryInterface(IID_
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CATIA 二次开发 批处理
![提示](https://www.deliwenku.com/images/bang_tan.gif)
限制150内