标题: UG编程,如何在KF中调用C函数? [打印本页] 作者: martin120 时间: 2006-8-15 22:32 标题: UG编程,如何在KF中调用C函数? 本人正在学习UG知识融接,欲在KF中调用C函数,请高手指点,谢谢!作者: jnx001 时间: 2006-8-17 11:27
KF能调用C函数吗,只知道API可以调用KF作者: martin120 时间: 2006-8-17 23:18
可以呀,请看帮助文件上的内容:
These Open C programs are routines that follow the Open C guidelines and rules. See the Open C Help. The functions included in the Knowledge Fusion Open C API are documented here. There are two different user function APIs available. The UF_KF interface allows you to create user function programs that can call Unigraphics NX Knowledge Fusion functions from your user function program. See Calling UG/Open Knowledge Fusion from a UF for an explanation of this API. The UF_KF interface allows you to define your own Fusion function that will call your user function from UG/Knowledge Fusion when it is invoked, in order to execute your User function routine. See Calling UFs from UG/Knowledge Fusion for an explanation of this API. These APIs are known collectively as the UG/KF UG/Open API.
不过还没有试过。作者: TY1869 时间: 2006-9-9 22:31
可以調用沒有問題 我見過老師用過作者: khzx 时间: 2006-9-11 11:21
可以。