Category View manager, Object ProSimprepdata

Function ProSimprepdataTmpvalSet


Description
Sets the value of the temp field in the specified ProSimprepdata structure.

NOTE:

Operates on assemblies only, not parts.

The temporary simplified representation value can be set only for newly created representations. For existing representations it is controlled by Creo.

Synopsis
#include <ProSimprepdata.h>
ProErrorProSimprepdataTmpvalSet(
ProSimprepdata* p_data
/* (In)
The pointer to the ProSimprepdata structure
*/
ProBoolean temp
/* (In)
A Boolean value that indicates whether it is a temporary simplified representation (PRO_B_TRUE if it is temporary)
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the value.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.

Manual References:

  1. Assembly: Simplified Representations: Modifying Simplified Representations

Sample Code References:

  1. pt_examples ( TestSimpRep.c )