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
Hi all, I am working on a customized action that requires to download model data . Since the members of the family tree do not have model content data, I need to filter them. Can anybody suggest me ways to identity if a part belongs to family tree or get the model content of the base object?
Solved! Go to Solution.
Hi @MV_10441462
You can use easy way how to get the information if it is generic or instance
EPMDocument epmdocument = getEPMSomeHow();
boolean isGeneric= epmdocument.isGeneric();
boolean instance = epmdocument.isInstance();
If it is generic, then get the content, if it is not generic then check if it is instance. It it is instance, then ignore it or search for the generic.
EPMStructureHelper.service.navigateGeneric(epmdocument, null, true);
PetrH
What does this method say on the EPMDocument?
getFamilyTableStatus()
Hi @MV_10441462
You can use easy way how to get the information if it is generic or instance
EPMDocument epmdocument = getEPMSomeHow();
boolean isGeneric= epmdocument.isGeneric();
boolean instance = epmdocument.isInstance();
If it is generic, then get the content, if it is not generic then check if it is instance. It it is instance, then ignore it or search for the generic.
EPMStructureHelper.service.navigateGeneric(epmdocument, null, true);
PetrH
