Object ProAutomatic

Function ProAutomaticSimprepRetrieve


Description
Retrieve user defined simplified representation as automatic rep.

NOTE:

Operates on assemblies only, not parts.

If errors occur in regeneration, the assembly will include suppressed features. The function ProSolidRetrievalErrorsGet identifies if errors occurred.

Synopsis
#include <ProSimprep.h>
ProErrorProAutomaticSimprepRetrieve(
ProFamilyMdlName assem_name
/* (In)
The name of the assembly to retrieve
*/
ProMdlfileType file_type
/* (In)
the file type of the assembly to retrieve.
*/
ProName simp_rep_name
/* (In)
The name of the simplified representation.
*/
ProAssembly* p_assem
/* (Out)
The handle to the assembly
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_NO_PERMISSIONThe function does not have permission to operate on this assembly.
PRO_TK_E_NOT_FOUNDThe function did not find the simplified representation in the solid.
See Also
ProSolidRetrievalErrorsGet

Manual References:

  1. Assembly: Simplified Representations: Retrieving User-Defined Simplified Representations
  2. Assembly: Simplified Representations: Retrieving User-Defined Simplified Representations