Access Family Tree in Windchill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Access Family Tree in Windchill
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.
- Labels:
-
API
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
What does this method say on the EPMDocument?
getFamilyTableStatus()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
