Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. 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