在对MSC.Patran进行二次开发时,通常需要编写自定义的图形界面,以实现开发者所需的一些特殊功能。由于Patran软件读取部分格式文件功能比较繁琐,要通过手动输入一些参数才能进行数据的读入。针对这些不足,特进行Patran界面的二次开发,使得预先设置好的参数,通过界面函数与系统调用,可以直接进行数据读取,大大提高了效率。最后给出开发后的界面实例进行验证。
When MSC Patran is redeveloped,the compiling of the self-defined graphical interfaces are usually needed to achieve some special functions needed by developers.As it is relatively more complicated for Patran software to read the part of the format-file function,some parameters should be input manually for reading into the data.Aming at these shortcomings,the redevelopment for Patran interface is adopted to pre-set the parameters.The data can be directly read by the interface functions and the system calls.It greatly improves the efficiency.The instance of the developed interface is offered for the authentication.