说明:双击或选中下面任意单词,将显示该词的音标、读音、翻译等;选中中文或多个词,将显示翻译。
您的位置:首页 -> 词典 -> Pro/E的二次开发
1)  Secondary development of Pro/E
Pro/E的二次开发
2)  application development of Pro/E
Pro/E二次开发
3)  development technology of Pro/Toolkit
Pro/Toolkit的二次开发技术
1.
Besides, development technology of Pro/Toolkit is applied to resolve the communication between user s application program in Visual C++.
并利用Pro/Toolkit的二次开发技术解决了VisualC ++6 。
4)  Pro/ENGINEER secondary development
Pro/ENGINEER二次开发
1.
On the basis of VC++ object- oriented method and Pro/ENGINEER secondary development technique, parametric design system of globoid indexing cam has been established.
以弧面分度凸轮机构为研究对象,基于VC++面向对象的方法及Pro/ENGINEER二次开发技术,建立了弧面分度凸轮参数化设计系统,该系统给出了界面友好的参数输入对话框,能够完成机构参数的自动综合和凸轮轮廓的自动生成,具有直观性、易于操作和调整,并在Pro/ENGINEER环境下进行装配、仿真与干涉检测,验证了设计的合理性。
5)  Pro/TOOLKIT customized development
Pro/TOOLKIT二次开发
1.
From improving production design efficiency,discussed the function of parametric design and implementation strategy and approach of 3D model parametric design in the condion of Pro/ENGINEER Wildfire,analysed the processed of three-dimensional standard part library parametric design which based on Pro/TOOLKIT customized development and gived example of application.
从提高产品设计效率和质量出发,探讨了参数化设计功能和Pro/ENGINEER Wildfire环境下三维模型参数化设计的实现策略和途径,分析了基于Pro/TOOLKIT二次开发的三维标准件库参数化设计的过程,并给出了应用实例。
6)  the secondary development of UG
UG的二次开发
补充资料:Pro/E二次开发使用toolkit开发trigger的程序

使用toolkit开发trigger的程序时,往往需要能够连续通过trigger来触发dll中的函数.
我碰到的问题:
   1.配置trigger:
   Name: CimDll
   Event: Create PIV
   Time:  POST
   RequireNO
   DLL:Cim.dll
   Function:PDMTPIVCreatePostOperation
   
  2.源代码:
   int PDMDLLInit()
{
   PTCERROR pdm_status;
   FILE      *g_pfileLog;
   g_pfileLog =fopen("test.dat","w");
   setbuf(g_pfileLog,NULL);
   fprintf(g_pfileLog,"begin test\n");
   pdm_status = PDMTriggerRegister("PDMTPIVCreatePostOperation", PDMTPIVCreatePostOperation);
   if (pdm_status != PDM_SUCCESS)
   {  
    printf("Failed to Register Trigger PIV Create Post.\n");
   }
    return (pdm_status);
}


int PDMTPIVCreatePostOperation(int argc, void **argv)
{
   fprintf(g_pfileLog,"test\n");
   .....
   fprintf(g_pfileLog,"end test\n");
   fclose(g_pfileLog);


}


   结果:以上代码存在的问题:如果我们在第一次checkin到C/S中后,删除test.dat文件,然后再进行checkin时,发现没有再生成test.dat,在函数PDMTPIVCreatePostOperation()中所进行的对文件的操作都无效.
   原因:我们使用trigger触发时,真正起作用的是函数:PDMTPIVCreatePostOperation(),而PDMDLLInit()只是在第一次checkin时起作用,所以在第一次调用PDMTPIVCreatePostOperation()后,我就fclose(g_pfileLog),所以出现了上面的情况.所以注意的是:不要把一些重要的东西放在函数PDMDLLInit()中.

说明:补充资料仅用于学习参考,请勿用于其它任何用途。
参考词条