Object ProAutomatic

Function ProAutomaticSimprepActivate


Description
Activate user-defined rep as automatic simplified rep.

NOTE:

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

Synopsis
#include <ProSimprep.h>
ProErrorProAutomaticSimprepActivate(
ProSolid p_solid
/* (In)
The solid that corresponds to the representation
*/
ProSimprep* usrdef_srep
/* (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: Retrieving User-Defined Simplified Representations