Creo2.0 VBAPI二次开发环境配置
更新时间:2024-05-14 22:50:01 阅读量: 综合文库 文档下载
Creo2.0 VBAPI二次开发环境配置
1. 设置系统环境变量:
设置PRO_COMM_MSG_EXE环境变量,为pro_comm_msg.exe所在目录。 PRO_DIRECTORY C:\\ptc\\Creo2\\Creo 2.0
PRO_COMM_MSG_EXE
C:\\ptc\\Creo2\\Creo 2.0\\Common Files\\M140\\x86e_win64\\obj\\pro_comm_msg.exe
2. 注册COM服务器: 在[creo_loadpoint]/bin目录下, C:\\ptc\\Creo2\\Creo 2.0\\Parametric\\bin
双击运行vb_api_register.bat。如果要反注册,可以运行同目录下vb_api_unregister.bat
3. 在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 environment
variable to the full path of the executable, pro_comm_msg.exe. Typically, the path to the executable is
i486_nt for 32-bit Windows and x86e_win64 for 64-bit Windows installations. Set PRO_COMM_MSG_EXE as:
1. Click Start > Settings > Control Panel.
2. Click System. The System Properties windows opens.
3. In the Advanced tab, click the Environment Variables button. 4. Add PRO_COMM_MSG_EXE to System variables.
Registering the COM Server
To register the COM server, run the vb_api_register.bat file located at
To unregister the COM server, run the vb_api_unregister.bat file located at
After the COM server is registered with the system, whenever an application tries to access the types
contained in this server the server starts automatically. By default, Windows starts services such as
pfclscom.exe in the Windows system directory (c:\\winnt\\system_32). Because the server will also start new
sessions of Creo Parametric from the process working directory, you may want to control the server run
Registering the COM Server
To register the COM server, run the vb_api_register.bat file located at
To unregister the COM server, run the vb_api_unregister.bat file located at
After the COM server is registered with the system, whenever an application tries to access the types
contained in this server the server starts automatically. By default, Windows starts services such as
pfclscom.exe in the Windows system directory (c:\\winnt\\system_32). Because the server will also start new
sessions of Creo Parametric from the process working directory, you may want to control the server run
In the VB.NET environment, set this reference as follows: 1. Click Project Properties Add Reference COM.
2. Select Creo Parametric VB API Type Library for Creo Parametric as shown in the following figure.
正在阅读:
中国地质灾害概况及成灾特点--25页06-11
统计学 抽样估计习题01-15
泰兴市交通运输局关于开展安全生产大检查大排查大整治专项行动总07-06
中建项目管理手册表格01-16
浴场客投处理手册05-20
单片机历年试题04-30
附表一拟投入本标段的主要施工设备表06-24
紫藤萝作文400字07-05
- 多层物业服务方案
- (审判实务)习惯法与少数民族地区民间纠纷解决问题(孙 潋)
- 人教版新课标六年级下册语文全册教案
- 词语打卡
- photoshop实习报告
- 钢结构设计原理综合测试2
- 2014年期末练习题
- 高中数学中的逆向思维解题方法探讨
- 名师原创 全国通用2014-2015学年高二寒假作业 政治(一)Word版
- 北航《建筑结构检测鉴定与加固》在线作业三
- XX县卫生监督所工程建设项目可行性研究报告
- 小学四年级观察作文经典评语
- 浅谈110KV变电站电气一次设计-程泉焱(1)
- 安全员考试题库
- 国家电网公司变电运维管理规定(试行)
- 义务教育课程标准稿征求意见提纲
- 教学秘书面试技巧
- 钢结构工程施工组织设计
- 水利工程概论论文
- 09届九年级数学第四次模拟试卷
- 配置
- 环境
- 开发
- VBAPI
- Creo
- 2.0
- 2017年山东省淄博市中考物理试卷
- 维修工程施工组织设计
- 湖南省株洲景炎学校人教版八年级语文上册25石壕吏 教案
- 机械蒸汽再压缩(MVR)蒸发系统性能研究
- 露天煤矿安全操作规程
- 凯悦家园施工设计 - 图文
- 中国人民银行 中国银监会关于村镇银行有关政策的通知
- 桥梁工程无损检测机构
- 推焦车试题
- 陕西省对外贸易现状及问题对策研究 - 图文
- 2018届黄浦区中考数学一模及答案
- 日常处罚管理制度
- 成都市双流区2016-2017学年度上期期末学生学业质量监测
- 盈余积累转增资本的所得税处理
- 投稿邮箱
- 2018-2023年中国水运行业深度调研与投资潜力分析前景预测报告(
- 江苏省响水中学2016届高考化学二轮复习专题15工艺流程(无答案)
- 新课标人教版3-1选修三1.8《电容器与电容》同步试题1
- 股票投资收益中英文对照外文翻译文献
- 20160422第四届“魅力之光”知识竞赛初赛题库(296旧+200新)