Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. 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