Some general information when using Cimatron API calls.
When inside of visual basic along the menu at the top go to project, then references. What has to be loaded to use the api calls for your program are CimAppAccess 1.0, CimatronE 1.0, CimBaseAPI 1.0, CimEservices 1.0.
Some other options are CimNCAPI, which holds nothing currently and they are planning for maybe E8, E9 for NC calls. CimEsuite holds all the sketcher calls and some modeling calls. If you are going to use your program for modeling then use CimMdlrAPI 1.0 which holds all of the Cimatron modeling functions. CimMiscAPI holds all of the DI calls for Cimatron. Another thing to note is that when you compile your code for Cimatron, whatever version of Cimatron you are compiling this code for that version of Cimatron need to be running in the background.
这个是cimatron官方论坛上,cimatron工程师的原话。
意思是你在project中引用控件,调用CimAppAccess 1.0, CimatronE 1.0, CimBaseAPI 1.0,CimEservices 1.0,这4类参考是可用的。其他api,可能在将来8、9或者更高版本才会适用。
玩api,需要点vb、vc等编程功底。我是皮毛。只用来理解一些软件的思路。 |