Documentación de la API > Assembly > Object ProAsmcomp > Function ProAsmcompMdlMdlnameGet
Function ProAsmcompMdlMdlnameGet
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>
ProAsmcompMdlMdlnameGet
(
ProAsmcomp* p_asm_comp_handle
/* (In)
The handle to the assembly component
*/
ProMdlfileType* r_mdl_type
/* (Out)
The model type
*/
ProFamilyMdlName r_mdl_name
/* (Out)
The name of the model. Free this argument using ProWstringFree.
*/
)
Returns
The function successfully retrieved the information.
The input argument is invalid.
Sample Code References
User Guide References
¿Fue esto útil?