What's New Creo 7.0 > What's New: Creo Parametric 7.0 > Toolkit > Ability to Select a Desired Export Profile in Creo through Toolkit API
Ability to Select a Desired Export Profile in Creo through Toolkit API
A new Creo Parametric TOOLKIT public API is added to enable the toolkit application to call any export profile on-the-fly without having to restart Creo.
User Interface Location: N/A
Release: Creo Parametric 7.0.2.0
What is the benefit of this enhancement?
In a multi-CAD environment, there might be different import and export data exchange profiles in Creo for a given format. Within the Creo interface, it is easy to select a desired export profile during the export process for a given format on-the-fly. However, if you use Creo Parametric TOOLKIT to perform automated workflows to export data to given formats, it could be difficult, as until now, toolkit could leverage only the current sessions export profile for the given format. Changing profiles required restarting Creo each time and selecting a different profile. A new Creo Parametric TOOLKIT public API is introduced to simplify this workflow. This API enables the toolkit application to call any export profile on-the-fly without requiring Creo to restart.
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.
*/
For more information, refer the Creo Parametric TOOLKIT 7.0 User’s Guide.
Additional Information
Tips:
None.
Limitations:
Does this replace existing functionality?
No
Detail options associated with this functionality:
N/A