Community login and other support tools will be unavailable Saturday May 3rd 9:00 am to 3:00 pm (EST) due to planned maintenance. Learn More
Dear Sudhan
Maybe your Modeldescriptor isnt correct, but it is not shown in the image.
this usually works :
ModelDescriptor modeldesc = pfcModel.ModelDescriptor_Create(ModelType.MDL_PART, "modelNameAsString",null);
Model model = session.RetrieveModel(modeldesc);
for ASM change the ModelType to ModelType.MDL_ASSEMBLY