Object ProToolkit

Function ProToolkitMajorVersionGet


Description
Return the major version number of the Creo Parametric executable that the Creo Parametric TOOLKIT application is connected to. This is an absolute number counting from the first shipment of PTC's MCAD software. It is 40 for Creo Parametric 8.0
Synopsis
#include <ProUtil.h>
ProErrorProToolkitMajorVersionGet(
int* r_version
/* (Out)
The major version.
*/
)
Returns
PRO_TK_NO_ERRORThe returned value is valid.
PRO_TK_GENERAL_ERRORA valid major version could not be found.

Manual References:

  1. Fundamentals: Registering a Creo Toolkit Application
  2. Fundamentals: Registering a Creo Toolkit Application
  3. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0