Category Mechanica, Object ProMechmodeldata

Function ProMechmodeldataPreserveidsSet


Description
Set the flag that controls preservation of IDs. When "Preserve IDs" flag is set, Creo Simulate will try to preserve IDs of surfaces and edges in simulation geometry between different calls to ProMechmodelGet(), even if original geometry of the model has changed slightly. The success of this attempt to preserve geometry IDs is not guaranteed, though.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechGeometry.h>
ProErrorProMechmodeldataPreserveidsSet(
ProMechModelData data
/* (In)
The data handle.
*/
ProBoolean preserve_ids
/* (In)
PRO_B_TRUE if the IDs are to be preserved.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.

Manual References:

  1. Creo Simulate: Geometry: Obtaining Creo Simulate Geometry from Creo TOOLKIT
  2. Creo Simulate: Geometry: Obtaining Creo Simulate Geometry from Creo TOOLKIT