Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
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