新增功能:Creo 7.0 > 新增功能:Creo Parametric 7.0 > 工具包 > 能够通过工具包 API 在 Creo 中选择所需的导出配置文件
能够通过工具包 API 在 Creo 中选择所需的导出配置文件
添加了一个新的 Creo Parametric TOOLKIT 公共 API,以允许工具包应用程序即时调用任何导出配置文件,而无需重新启动 Creo
用户界面位置:N/A
版本:Creo Parametric 7.0.2.0
此增强功能的优点是什么?
在多 CAD 环境中,对于给定格式,Creo 中可能存在不同的导入和导出数据交换配置文件。在 Creo 界面内,可在导出过程中轻松为给定格式即时选择所需的导出配置文件。但是,如果使用 Creo Parametric TOOLKIT 执行自动工作流将数据导出为给定格式,则可能会很困难,因为到目前为止,工具包仅能利用给定格式的当前会话导出配置文件。更改配置文件需要每次重新启动 Creo 并选择不同的配置文件。为简化此工作流引入了一个新的 Creo Parametric TOOLKIT 公共 API。此 API 使得工具包应用程序可即时调用任意导出配置文件,而无需重新启动 Creo
extern ProError ProIntfExportProfileLoad(ProPath profile);
/*
Purpose: Loads profile for export.
Input Arguments: profile - Profile full path along with profile name and extension.
Output Arguments: none
Return Values:
PRO_TK_NO_ERROR - The function succeeded.
PRO_TK_BAD_INPUTS - Invalid input argument.
PRO_TK_E_NOT_FOUND - Profile file does not exist at the given location.
PRO_TK_NO_CHANGE - No change to the export profile settings.
*/
有关详细信息,请参阅 Creo Parametric TOOLKIT 7.0 用户指南
附加信息
提示:
无。
限制:
其是否替换了现有功能?
与此功能关联的细节选项:
N/A