Retrieve model in toolkit
Hi all,
I try to retrieve model to assemble. I try to configure the model name in txt file.
ProStringToWstring(MLinkAToAssemble,MdAPart); err = ProMdlRetrieve(MLinkAToAssemble,(ProMdlType)PRO_MDL_PART,(ProMdl*)&CompSolid);
I use the above code to retrieve model, but I get error PRO_TK_E_NOT_FOUND
whereas if i uses the model name directly I get the model in session
ProStringToWstring(MLinkAToAssemble,"TEST.PRT"); err = ProMdlRetrieve(MLinkAToAssemble,(ProMdlType)PRO_MDL_PART,(ProMdl*)&CompSolid);
Kindly throw some light
Regards,
Manjunath S

