API 文档 > Assembly > Object ProAssembly > Function ProAssemblySimprepMdlnameRetrieve
Function ProAssemblySimprepMdlnameRetrieve
Description
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. Note: In Creo 3 this function does not support names longer than 80 characters. It will return PRO_TK_BAD_INPUTS for longer names. The support for ProFamilyMdlName will be added in a future release.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSimprep.h>
ProAssemblySimprepMdlnameRetrieve
(
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. 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
The function successfully retrieved the information.
One or more of the input arguments are invalid.
The function does not have permission to operate on this assembly.
The function did not find the simplified representation in the solid.
See Also
Sample Code References
User Guide References
这对您有帮助吗?