API Documentation > Assembly > Object ProAsmcomp > Function ProAsmcompMdldataGet
Function ProAsmcompMdldataGet
Description
Retrieves the name and type of the model, given the handle to the assembly component. 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.
Synopsis
#include <ProAsmcomp.h>
ProAsmcompMdldataGet
(
ProAsmcomp* p_asm_comp_handle
/* (In)
The handle to the assembly component. Cannot be NULL.
*/
ProMdlType* r_mdl_type
/* (Out)
The model type. Can be NULL.
*/
ProMdlfileType* r_mdl_filetype
/* (Out)
The model filetype. Can be NULL.
*/
ProFamilyMdlName r_mdl_name
/* (Out)
The name of the model. Free this argument using ProWstringFree. Can be NULL.
*/
)
Returns
The function successfully retrieved the information.
The input argument is invalid.
User Guide References
Was this helpful?