Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! 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