Creo2.0 VBAPI二次开发环境配置.docxVIP

  • 406
  • 0
  • 约2.56千字
  • 约 3页
  • 2017-07-15 发布于河南
  • 举报
Creo2.0 VBAPI二次开发环境配置

Creo2.0 VBAPI二次开发环境配置1. 设置系统环境变量:设置PRO_COMM_MSG_EXE环境变量,为pro_comm_msg.exe所在目录。PRO_DIRECTORYC:\ptc\Creo2\Creo 2.0PRO_COMM_MSG_EXEC:\ptc\Creo2\Creo 2.0\Common Files\M140\x86e_win64\obj\pro_comm_msg.exe2. 注册COM服务器:在[creo_loadpoint]/bin目录下,C:\ptc\Creo2\Creo 2.0\Parametric\bin双击运行vb_api_register.bat。如果要反注册,可以运行同目录下vb_api_unregister.bat3. 在visual studio2008中项目——添加引用菜单中,进入COM页,选择Creo VB API Type Library for Creo Parametric 2.0,点击确定。Creo2.0 VBAPI二次开发环境搭建英文版For your application to communicate with Creo Parametric, you must set the PRO_COMM_MSG_EXE environmentvariable to the full path of the executable,

文档评论(0)

1亿VIP精品文档

相关文档