API-Dokumentation > Miscellaneous > Object ProMdlname > Function ProMdlnameRetrieve
Function ProMdlnameRetrieve
Description
Retrieves the specified model and initializes the handle.
The function retrieves the model into memory, but neither displays the model nor makes it the current model.
If retrieving an assembly, and 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 <ProMdl.h>
ProMdlnameRetrieve
(
/* (In)
The name of the model to retrieve
*/
/* (In)
The type of the model to retrieve
*/
ProMdl* p_handle
/* (Out)
The handle to the retrieved model
*/
)
Returns
The function successfully retrieved the model.
One or more of the input arguments are invalid.
The model was not found in the current directory.
The function does not have permission to operate on this model.
The Multi-CAD model is not being retrieved from an active Windchill server.
See Also
Sample Code References
User Guide References
War dies hilfreich?