摘要
探讨了UG二次开发中的接口技术,通过直接在MFC应用向导程序中加入UG入口函数的方法,解决了利用MenuScript菜单和UIStyler的回调函数无法直接调用MFC函数的问题。给出了访问数据库的实现方案,实现了DLL接口与UG的集成。并通过实例说明利用MFC类库实现UG参数化建模过程。
The interface technology in secondary development was introduced. A method to use MFC in UG by MenuScript and UIStyler was proposed through adding entry function of UG. Specific method to database access was given out, the integration of DLL interface and UG software was realized. An example was given to explain how to combine with MFC and parametric modeling in UG software.
出处
《机床与液压》
北大核心
2009年第7期196-198,共3页
Machine Tool & Hydraulics
基金
广西自然科学基金项目(桂科自0832242)
板级互联背板设计及仿真研究(2008105950802M405)