说明:双击或选中下面任意单词,将显示该词的音标、读音、翻译等;选中中文或多个词,将显示翻译。
您的位置:首页 -> 词典 -> ANSYS二次开发
1)  Secondary development of ANSYS
ANSYS二次开发
1.
Secondary development of ANSYS and application in temperature analysis of combustor wall;
ANSYS二次开发及在火焰筒壁温分析中的应用
2.
Based on ANSYS Parametric Design Language(APDL) and User Programmable Features(UPFs),the secondary development of ANSYS was implemented with the subroutines of generalized hydrostatic yield model.
利用通用软件ANSYS的参数化设计语言APDL和用户编程功能UPFs,将静水应力型广义屈服模型编制成子程序模块,完成了ANSYS二次开发
2)  ANSYS secondary development
ANSYS二次开发
3)  ANSYS development technology
ANSYS二次开发技术
4)  UPFs redevelopment of ANSYS program
ANSYS程序UPFs二次开发
5)  ANSYS Development
ANSYS开发
6)  further development
二次开发
1.
The further development of pro/engineer based on automation gateway;
基于Automation Gateway的Pro/engineer二次开发技术
2.
The application of SolidWorks API in its further development;
SolidWorks二次开发方法的研究
3.
The further development of Microsift Project;
微软项目管理软件的二次开发
补充资料: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()中.

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