Category Creo Parametric fundamentals, Object ProMode

Function ProModeCurrentGet


Description
Retrieves the current mode of Creo Parametric.
Synopsis
#include <ProMode.h>
ProErrorProModeCurrentGet(
ProMode* p_mode
/* (Out)
The current mode
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe mode is NULL.
PRO_TK_E_NOT_FOUNDThe mode was not found.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: Models and Model Items: Modes
  3. Core: Models and Model Items: Modes

Sample Code References:

  1. pt_examples ( TestAnimation.c )
  2. pt_examples ( TestConfig.c )
  3. pt_examples ( TestDimension.c )
  4. pt_examples ( TestDimension.c )
  5. pt_examples ( TestInterface.c )
  6. pt_examples ( TestInterface.c )
  7. pt_examples ( TestSmtlSurf.c )
  8. pt_examples ( TestRay.c )
  9. pt_userguide ( UgMainMenu.c )
  10. pt_wc_server ( PTWCServerAddInstance.c )
  11. pt_wc_server ( PTWCServerPartToPView.c )
  12. pt_wc_server ( PTWCServerUpdateDXF.c )