Skip to main content
1-Visitor
April 10, 2014
Question

Multilevel Familytable

  • April 10, 2014
  • 2 replies
  • 1359 views

I'm trying to traverse a multi level family structure with Jlink and WF5.


I start from the generic model, and traverse the FamilyTableRows.FamilyMember fm = (FamilyMember) model;
boolean hasFamily = (Since I have some rather large family tables and I only need data directly from the familytable, I would prefer not to have to retrieve each instance just to check if it has its own table.


I can see direcly in the "Type" column of a family table if an instance has its own sub family (see attachement). Can this be accessed?


Any way to accomplish this?


Thanks,


\Bjarne

2 replies

15-Moonstone
April 10, 2014
In Pro/Toolkit there are functions ProFamTableCheck, ProFamInstanceCheck, ProFaminstanceImmediategenericinfoGet, and ProFaminstanceGenericGet to help you figure out family table structure. (I don't know Jlink). Check to see if you have any functions like this in JLink. I would hope in Jlink you wouldn't have to go parsing thru the family table rows and columns to figure out its generic/instance structure.

Mark Steffke
1-Visitor
April 10, 2014

I have equivalentsof


ProFaminstanceImmediategenericinfoGet ProFaminstanceGenericGet familyMember.But nothing like these:

ProFamTableCheck
ProFamInstanceCheck

For now I have just accepted that I need to retrieve the instances, even though it is not very pretty...