找回密码 注册 QQ登录
开思网工业级高精度在线3D打印服务

iCAx开思网

CAD/CAM/CAE/设计/模具 高清视频【积分说明】如何快速获得积分?快速3D打印 手板模型CNC加工服务在线3D打印服务,上传模型,自动报价
查看: 21403|回复: 8
打印 上一主题 下一主题

caa 求助: 怎樣用CAA來檢測product是否有clash

[复制链接]
1
发表于 2006-12-8 21:25:49 | 显示全部楼层
CATIAClash等
2
发表于 2006-12-13 16:41:10 | 显示全部楼层
CATIAProduct* pCATIAPrd = NULL;
          spActiveProduct->QueryInterface( IID_CATIAProduct, (void **)&pCATIAPrd );
          if( !pCATIAPrd) {
                  break;
          }
          CATIAClashes* pCATIAClashes = NULL;
      CATUnicodeString        strname = "Clashes";
      CATBSTR  BSTR;
      strname.ConvertToBSTR( &BSTR );
          CATBaseDispatch* pBaseDis = NULL;
      pCATIAPrd->GetTechnologicalObject( BSTR, pBaseDis);
          if ( !pBaseDis) {
                  break;
          }
          pBaseDis->QueryInterface( IID_CATIAClashes, (void **)&pCATIAClashes );
          if ( !pCATIAClashes) {
                  break;
          }
          CATIAClash* pCATIAClash = NULL;
      pCATIAClashes->Add( pCATIAClash);
          if ( !pCATIAClash) {
                  break;
          }
您需要登录后才可以回帖 登录 | 注册

本版积分规则

3D打印手板模型快速制作服务,在线报价下单!

QQ 咨询|手机版|联系我们|iCAx开思网  

GMT+8, 2025-8-4 02:14 , Processed in 0.020547 second(s), 13 queries , Gzip On, Redis On.

Powered by Discuz! X3.3

© 2002-2025 www.iCAx.org

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