| DEPRECATED: | Since Creo 3 | ||||||||||||||||||||||||||||||||||
| SUPERSEDED BY: | ProMdlRepresentationFiletypeLoad | ||||||||||||||||||||||||||||||||||
| Description | |||||||||||||||||||||||||||||||||||
| Note: This function is deprecated Use ProMdlRepresentationFiletypeLoad instead. Retrieves the specified simplified representation.
NOTE: The function ProSolidRetrievalErrorsGet identifies errors if occurred. |
|||||||||||||||||||||||||||||||||||
| Replacement in Object TOOLKIT: | wfcWSession::LoadModelRepresentation | ||||||||||||||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||||||||||||||
| #include <ProMdl.h> | |||||||||||||||||||||||||||||||||||
| ProError | ProMdlRepresentationLoad | ( | |||||||||||||||||||||||||||||||||
| ProPath assembly_file | |||||||||||||||||||||||||||||||||||
| /* (In) | |||||||||||||||||||||||||||||||||||
| The assembly file location. Cannot be NULL. May include: generic name, instance name, file extension, file version, absolute or relative path to a local folder or a url. Example: wtpub://asm_1 |
|||||||||||||||||||||||||||||||||||
| */ | |||||||||||||||||||||||||||||||||||
| ProMdlType type | |||||||||||||||||||||||||||||||||||
| /* (In) | |||||||||||||||||||||||||||||||||||
| Model type. May be PRO_MDL_UNUSED if assembly_file includes file extension | |||||||||||||||||||||||||||||||||||
| */ | |||||||||||||||||||||||||||||||||||
| ProName simprep_name | |||||||||||||||||||||||||||||||||||
| /* (In) | |||||||||||||||||||||||||||||||||||
| The name of the simplified representation. Must be NULL if not user-defined (if not NULL, it is considered to be user-defined). | |||||||||||||||||||||||||||||||||||
| */ | |||||||||||||||||||||||||||||||||||
| ProSimprepdata* p_simp_rep_data | |||||||||||||||||||||||||||||||||||
| /* (In) | |||||||||||||||||||||||||||||||||||
| The simplified representation data. Can be NULL for a user defined represenation. The instructions in the data will be used to create a new representation on the fly if such representation does not exist. | |||||||||||||||||||||||||||||||||||
| */ | |||||||||||||||||||||||||||||||||||
| ProMdl* result | |||||||||||||||||||||||||||||||||||
| /* (Out) | |||||||||||||||||||||||||||||||||||
| The handle to the model. Cannot be NULL. Note: The function retrieves the model into memory, but neither displays the model nor makes it the current model. If during retrieving an assembly errors occur on regeneration then the assembly will include suppressed features. Use ProSolidRetrievalErrorsGet to get the errors. |
|||||||||||||||||||||||||||||||||||
| */ | |||||||||||||||||||||||||||||||||||
| ) | |||||||||||||||||||||||||||||||||||
| Returns | |||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||
| See Also | |||||||||||||||||||||||||||||||||||
| ProSolidRetrievalErrorsGet | |||||||||||||||||||||||||||||||||||