Category View manager, Category Assembly, Object ProAssembly

Function ProAssemblySimprepRetrieve


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProAssemblySimprepMdlnameRetrieve
Description
Note: This function is deprecated Use ProAssemblySimprepMdlnameRetrieve instead. Retrieves the specified simplified representation.

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.

Replacement in Object TOOLKIT: pfcBaseSession::RetrieveAssemSimpRep
Synopsis
#include <ProSimprep.h>
ProErrorProAssemblySimprepRetrieve(
ProFamilyName assem_name
/* (In)
The name of the assembly to retrieve
*/
ProName simp_rep_name
/* (In)
The name of the simplified representation. Can be NULL; the instructions in the data will be used to create a new representation on the fly.
*/
ProSimprepdata* simp_rep_data
/* (In)
The simplified representation data. Can be NULL.
*/
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. Pro/DEVELOP to Creo Parametric TOOLKIT Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Working with Multi-CAD Models Using Creo Unite: Superseded Functions
  3. Technical Summary of Changes for Creo 4.0 F000: Simplified Representation