Category Mechanica, Object ProMechitem

Function ProMechitemUpdateComplete


Description
This function notifies Creo Parametric that all desired changes have been made to a given simulation item. Calling this function:
  • Forces a recalculation of the item's status.
  • Updates the display of the simulation object, if it is currently displayed.
  • May also trigger showing or hiding other dependent items because of the changes made.

This function MUST be called after ALL properties of a new/modified simulation item have been set by the appropriate Set functions.

Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechItem.h>
ProErrorProMechitemUpdateComplete(
ProMechItem* item
/* (In)
The simulation item that has just been modified.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_BAD_CONTEXTThe Creo Simulate session is not initialized.
PRO_TK_INVALID_PTRThe Input ProMechItem Solid pointer is invalid.
PRO_TK_GENERAL_ERRORA general error is encountered.

Manual References:

  1. Creo Simulate: Items: Modifying the Creo Simulate Loads
  2. Creo Simulate: Items: Modifying the Creo Simulate Constraints

Sample Code References:

  1. pt_mech_examples ( PTMechExCopy.c )
  2. pt_mech_examples ( PTMechExLoadMenu.c )
  3. pt_mech_examples ( PTMechExLoadMenu.c )
  4. pt_mech_examples ( PTMechExMagChange.c )
  5. pt_mech_examples ( PTMechExMatOrient.c )