Category View manager, Object ProSimprep

Function ProSimprepActivate


Description
Activates the specified simplified representation.

NOTE:

Operates on assemblies only, not parts. Call ProSolidDisplay() to display simplified rep correctly.

Replacement in Object TOOLKIT: pfcSolid::ActivateSimpRep
Synopsis
#include <ProSimprep.h>
ProErrorProSimprepActivate(
ProSolid p_solid
/* (In)
The solid that corresponds to the representation
*/
ProSimprep* p_simp_rep
/* (In)
The simplified representation
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully activated the simplified representation.
PRO_TK_BAD_INPUTSOne or more of the arguments are invalid.
PRO_TK_E_NOT_FOUNDThe specified simplified representation was not found in the model.

Manual References:

  1. Assembly: Simplified Representations: Simplified Representations in Session
  2. Assembly: Simplified Representations: Simplified Representations in Session

Sample Code References:

  1. pt_examples ( TestSimpRep.c )
  2. pt_examples ( TestSimpRep.c )
  3. pt_examples ( TestSimpRep.c )
  4. pt_examples ( TestSimpRep.c )
  5. pt_examples ( TestSimpRep.c )
  6. pt_examples ( TestSimpRep.c )
  7. pt_userguide ( UgInterfaceExport.c )
  8. pt_userguide ( UgSimprepCreate.c )