计算机应用 ›› 2011, Vol. 31 ›› Issue (10): 2861-2864.DOI: 10.3724/SP.J.1087.2011.02861

• 典型应用 • 上一篇    下一篇

基于NXOpen的验证规则定制

花锋   

  1. 盐城工学院 优集学院,江苏 盐城 224051
  • 收稿日期:2011-05-03 修回日期:2011-06-01 发布日期:2011-10-11 出版日期:2011-10-01
  • 通讯作者: 花锋
  • 作者简介:花锋(1979-),男,江苏盐城人,讲师,硕士,主要研究方向:CAD、知识驱动自动化。

Customization of validation rule based on NXOpen

HUA Feng   

  1. UGS College, Yancheng Institute of Technology, Yancheng Jiangsu 224051, China
  • Received:2011-05-03 Revised:2011-06-01 Online:2011-10-11 Published:2011-10-01

摘要: 针对知识熔接(KF)函数功能不全面,影响Check-Mate验证规则定制的问题,提出了基于NXOpen二次开发技术定制Check-Mate验证规则的方法。对NXOpen的编程接口进行了综述,介绍了使用NXOpen实现验证逻辑,分别使用C++、C#、VB .NET及Java程序设计语言建立验证规则的程序库,用KF封装程序库中的函数,得到接口统一的KF函数。通过NXOpen二次开发技术建立验证规则类,并调用自定义验证规则的方法,从而提高了创建验证规则知识库的能力,有助于增强产品设计标准的执行。

关键词: 验证规则, NXOpen, Check-Mate, NX, 知识熔接

Abstract: Concerning the problem that Knowledge Fusion (KF) functions have no comprehensive functionalities, which has affected the validation rule customization, this paper presented a method of customizing Check-Mate validation rules based on the NXOpen secondary development technology. It gave a survey on the NXOpen application programming interfaces, introduced the method how to use NXOpen to implement validation logic, and how to use the programming languages, C++, C#, VB .NET, and Java respectively to build the program library of validation rules, and how to use KF to wrap the functions in the program library to get KF functions with a uniform interface. It built the validation rule classes using NXOpen secondary development technology, and calling the customization validation rules, and thereby promoted the capacity to build validation rule knowledge library, and helped to enhance the application of the product design standard.

Key words: validation rule, NXOpen, Check-Mate, NX, Knowledge Fusion (KF)

中图分类号: