Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I am trying to create a Simplified Rep by Jlink.
Session session=pfcGlobal.GetProESession();
Assembly assm=(Assembly) session.GetActiveModel();
CreateNewSimpRepInstructions newsimprep=pfcSimpRep.CreateNewSimpRepInstructions_Create("TestRep"); assm.CreateSimpRep(instrs);
It will create the Simprep item in the assembly.I need to set the Model items into the rep.
ModelItem mi = (ModelItem) assm.GetFeatureById(id); //Individual ModelItem
By this i extracting the Model item .But I dont know how to create the SimpRepItems,Please help me on this topic.Thanks in advance.
a